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

fixed-output derivations: fix incorrect responses for getpwuid

backport of #5006
This commit is contained in:
illustris 2021-07-14 14:26:25 +05:30
parent 76c7f5f215
commit 1c51a169fb

View file

@ -2841,8 +2841,6 @@ void DerivationGoal::runChild()
ss.push_back("/etc/services");
ss.push_back("/etc/hosts");
if (pathExists("/var/run/nscd/socket"))
ss.push_back("/var/run/nscd/socket");
}
for (auto & i : ss) dirsInChroot.emplace(i, i);