1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

Improve setting the default chroot dirs

This commit is contained in:
Eelco Dolstra 2015-03-24 11:57:46 +01:00
parent fd89f97be9
commit 5114a07d95
3 changed files with 7 additions and 9 deletions

View file

@ -93,13 +93,6 @@ let
--sysconfdir=/etc
'';
# Provide a default value for the build-chroot-dirs setting
# that includes /bin/sh pointing to bash.
preHook = lib.optionalString stdenv.isLinux
''
export DEFAULT_CHROOT_DIRS="/bin/sh=${stdenv.shell}"
'';
enableParallelBuilding = true;
makeFlags = "profiledir=$(out)/etc/profile.d";