Skip to content

Commit 0a97eb6

Browse files
committedMay 8, 2017
Remove superfluous #ifdef
1 parent bb50c89 commit 0a97eb6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/libstore/build.cc

-2
Original file line numberDiff line numberDiff line change
@@ -2360,10 +2360,8 @@ void DerivationGoal::runChild()
23602360
createDirs(chrootRootDir + "/dev/shm");
23612361
createDirs(chrootRootDir + "/dev/pts");
23622362
ss.push_back("/dev/full");
2363-
#ifdef __linux__
23642363
if (pathExists("/dev/kvm"))
23652364
ss.push_back("/dev/kvm");
2366-
#endif
23672365
ss.push_back("/dev/null");
23682366
ss.push_back("/dev/random");
23692367
ss.push_back("/dev/tty");

0 commit comments

Comments
 (0)
Please sign in to comment.