Skip to content

Commit 9c709d2

Browse files
authored
Bump version to 0.13.4 (#2337)
## Summary * Bumps Devbox version to 0.13.4. Will tag this commit once merged * Adds `subpackage` to only build the Devbox binary. Otherwise we also build the Testrunner/updater binary which is not relevant for users * Support cross-compilation by skipping post-install scripts if Devbox is built for a different system than the host ## How was it tested? `nix build .` ++ `devbox run tidy`
1 parent e106c39 commit 9c709d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flake.nix

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
let
1212
pkgs = nixpkgs.legacyPackages.${system};
1313

14-
lastTag = "0.13.3";
14+
lastTag = "0.13.4";
1515

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

3737
src = ./.;
3838

39+
subpackage = [./cmd/devbox];
40+
3941
ldflags = [
4042
"-s"
4143
"-w"
@@ -48,7 +50,7 @@
4850

4951
nativeBuildInputs = [ pkgs.installShellFiles ];
5052

51-
postInstall = ''
53+
postInstall = pkgs.lib.optionalString (pkgs.stdenv.buildPlatform.canExecute pkgs.stdenv.hostPlatform) ''
5254
installShellCompletion --cmd devbox \
5355
--bash <($out/bin/devbox completion bash) \
5456
--fish <($out/bin/devbox completion fish) \

0 commit comments

Comments
 (0)