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

Merge pull request #5013 from illustris/nscd-backport

fixed-output derivations: fix incorrect responses for getpwuid
This commit is contained in:
Eelco Dolstra 2021-07-14 17:00:00 +02:00 committed by GitHub
commit e871146179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);