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:
parent
fd89f97be9
commit
5114a07d95
3 changed files with 7 additions and 9 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue