diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-05-15T15·30+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-05-15T15·36+0200 |
commit | a2d92bb20e82a0957067ede60e91fab256948b41 (patch) | |
tree | 665a9274c830f73c05a282622d78f6cf8d7c9ec9 /release.nix | |
parent | b30f5784d0184688de964f6239e373b62101ebc4 (diff) |
Add --with-sandbox-shell configure flag
And add a 116 KiB ash shell from busybox to the release build. This helps to make sandbox builds work out of the box on non-NixOS systems and with diverted stores.
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/release.nix b/release.nix index 54d20c868da0..f1a553d01cc6 100644 --- a/release.nix +++ b/release.nix @@ -66,6 +66,8 @@ let with import <nixpkgs> { inherit system; }; + with import ./release-common.nix { inherit pkgs; }; + releaseTools.nixBuild { name = "nix"; src = tarball; @@ -83,11 +85,8 @@ let customMemoryManagement = false; }); - configureFlags = '' - --disable-init-state - --enable-gc - --sysconfdir=/etc - ''; + configureFlags = configureFlags ++ + [ "--sysconfdir=/etc" ]; enableParallelBuilding = true; |