aboutsummaryrefslogtreecommitdiff
path: root/release.nix
diff options
context:
space:
mode:
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/release.nix b/release.nix
index c5f700d8e..47ba1c1c3 100644
--- a/release.nix
+++ b/release.nix
@@ -95,11 +95,10 @@ let
# Provide a default value for the ‘build-chroot-dirs’ setting
# that includes /bin/sh pointing to bash.
- preHook = lib.optionalString stdenv.isLinux (
- let sh = stdenv.shell; in
+ preHook = lib.optionalString stdenv.isLinux
''
- export DEFAULT_CHROOT_DIRS="/bin/sh=${sh} $(tr '\n' ' ' < ${writeReferencesToFile sh})"
- '');
+ export DEFAULT_CHROOT_DIRS="/bin/sh=${stdenv.shell}"
+ '';
enableParallelBuilding = true;