From 0a97eb6bd7d459de80432a5dbf39daf16647bb8c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 8 May 2017 11:25:23 +0200 Subject: [PATCH] Remove superfluous #ifdef --- src/libstore/build.cc | 2 -- 1 file changed, 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");