aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-08 11:25:23 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-08 11:27:20 +0200
commit0a97eb6bd7d459de80432a5dbf39daf16647bb8c (patch)
tree823217ab0cc348a13999d70bd014a3f9a785229c /src
parentbb50c8931934d04dbf61bd245b4583f8c1ac4fd9 (diff)
Remove superfluous #ifdef
Diffstat (limited to 'src')
-rw-r--r--src/libstore/build.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 70ecf4bad..dc9b9e023 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2360,10 +2360,8 @@ void DerivationGoal::runChild()
createDirs(chrootRootDir + "/dev/shm");
createDirs(chrootRootDir + "/dev/pts");
ss.push_back("/dev/full");
-#ifdef __linux__
if (pathExists("/dev/kvm"))
ss.push_back("/dev/kvm");
-#endif
ss.push_back("/dev/null");
ss.push_back("/dev/random");
ss.push_back("/dev/tty");