aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/local-derivation-goal.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-07-13 17:20:37 +0200
committerGitHub <noreply@github.com>2021-07-13 17:20:37 +0200
commiteb4788954de4546787cce2e4ecd660fc55fe2e85 (patch)
tree335ccd012a24215275c523714e292e7872b3c1c3 /src/libstore/build/local-derivation-goal.cc
parent099df07e1ee1663a9176384071f61a19b0f5686c (diff)
parent7bc17a903bf3b71ce867ac5316b7e0a9e03c68b2 (diff)
Merge pull request #5006 from illustris/nscd
fixed-output derivations: fix incorrect responses for getpwuid
Diffstat (limited to 'src/libstore/build/local-derivation-goal.cc')
-rw-r--r--src/libstore/build/local-derivation-goal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc
index 02f902666..11c99d9f0 100644
--- a/src/libstore/build/local-derivation-goal.cc
+++ b/src/libstore/build/local-derivation-goal.cc
@@ -1669,7 +1669,7 @@ void LocalDerivationGoal::runChild()
/* N.B. it is realistic that these paths might not exist. It
happens when testing Nix building fixed-output derivations
within a pure derivation. */
- for (auto & path : { "/etc/resolv.conf", "/etc/services", "/etc/hosts", "/var/run/nscd/socket" })
+ for (auto & path : { "/etc/resolv.conf", "/etc/services", "/etc/hosts" })
if (pathExists(path))
ss.push_back(path);
}