Disable building in chroot for Nix's corepkgs
The dependencies of the corepkgs are not necessarily in the chroot (or in the Nix store), so don't build them in a chroot.
This commit is contained in:
parent
cb1248d208
commit
663c06e8cd
3 changed files with 10 additions and 0 deletions
|
@ -18,4 +18,7 @@ derivation {
|
||||||
# Building user environments remotely just causes huge amounts of
|
# Building user environments remotely just causes huge amounts of
|
||||||
# network traffic, so don't do that.
|
# network traffic, so don't do that.
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
|
|
||||||
|
# Don't build in a chroot because Nix's dependencies may not be there.
|
||||||
|
__noChroot = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,4 +28,7 @@ derivation {
|
||||||
builder = shell;
|
builder = shell;
|
||||||
args = [ "-e" builder ];
|
args = [ "-e" builder ];
|
||||||
inherit storePath hashAlgo;
|
inherit storePath hashAlgo;
|
||||||
|
|
||||||
|
# Don't build in a chroot because Nix's dependencies may not be there.
|
||||||
|
__noChroot = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,10 @@ derivation {
|
||||||
args = [ "-e" ./unpack-channel.sh ];
|
args = [ "-e" ./unpack-channel.sh ];
|
||||||
inherit name channelName src bzip2 tar tr;
|
inherit name channelName src bzip2 tar tr;
|
||||||
PATH = "${nixBinDir}:${coreutils}";
|
PATH = "${nixBinDir}:${coreutils}";
|
||||||
|
|
||||||
# No point in doing this remotely.
|
# No point in doing this remotely.
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
|
|
||||||
|
# Don't build in a chroot because Nix's dependencies may not be there.
|
||||||
|
__noChroot = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue