Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
let
pkgs = nixpkgs.legacyPackages.${system};

lastTag = "0.13.3";
lastTag = "0.13.4";

revision = if (self ? shortRev)
then "${self.shortRev}"
Expand All @@ -36,6 +36,8 @@

src = ./.;

subpackage = [./cmd/devbox];

ldflags = [
"-s"
"-w"
Expand All @@ -48,7 +50,7 @@

nativeBuildInputs = [ pkgs.installShellFiles ];

postInstall = ''
postInstall = pkgs.lib.optionalString (pkgs.stdenv.buildPlatform.canExecute pkgs.stdenv.hostPlatform) ''
installShellCompletion --cmd devbox \
--bash <($out/bin/devbox completion bash) \
--fish <($out/bin/devbox completion fish) \
Expand Down