about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-08T09·25+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-08T09·27+0200
commit0a97eb6bd7d459de80432a5dbf39daf16647bb8c (patch)
tree823217ab0cc348a13999d70bd014a3f9a785229c /src/libstore/build.cc
parentbb50c8931934d04dbf61bd245b4583f8c1ac4fd9 (diff)
Remove superfluous #ifdef
Diffstat (limited to 'src/libstore/build.cc')
-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 70ecf4bad994..dc9b9e023cb5 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");