mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Don't try to map /bin/sh to a store path on non-Linux
This commit is contained in:
parent
8972f7c14a
commit
71083f9e5e
1 changed files with 2 additions and 0 deletions
|
@ -1786,8 +1786,10 @@ void DerivationGoal::startBuilder()
|
|||
if (useChroot) {
|
||||
|
||||
string defaultChrootDirs;
|
||||
#if CHROOT_ENABLED
|
||||
if (isInStore(BASH_PATH))
|
||||
defaultChrootDirs = "/bin/sh=" BASH_PATH;
|
||||
#endif
|
||||
|
||||
/* Allow a user-configurable set of directories from the
|
||||
host file system. */
|
||||
|
|
Loading…
Reference in a new issue