summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorManolis Ragkousis <manolis837@gmail.com>2015-08-19 14:11:15 +0300
committerLudovic Courtès <ludo@gnu.org>2015-11-01 14:26:54 +0100
commitcbe95af7123fe4d384d36f4a55bfba7286a8de1b (patch)
treed049b2d0209fe0973e1ef78f88b274a2d5544478 /nix
parent08859404c0a52af8ef9a083399814d081774893a (diff)
downloadguix-cbe95af7123fe4d384d36f4a55bfba7286a8de1b.tar.gz
Remove unneeded HAVE_UNSHARE.
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
Diffstat (limited to 'nix')
-rw-r--r--nix/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index a9eedcef16..efe1ab2b17 100644
--- a/nix/libstore/build.cc
+++ b/nix/libstore/build.cc
@@ -51,7 +51,7 @@
 #include <linux/fs.h>
 #endif
 
-#define CHROOT_ENABLED HAVE_CHROOT && HAVE_UNSHARE && HAVE_SYS_MOUNT_H && defined(MS_BIND) && defined(MS_PRIVATE) && defined(CLONE_NEWNS) && defined(SYS_pivot_root)
+#define CHROOT_ENABLED HAVE_CHROOT && HAVE_SYS_MOUNT_H && defined(MS_BIND) && defined(MS_PRIVATE) && defined(CLONE_NEWNS) && defined(SYS_pivot_root)
 
 #if CHROOT_ENABLED
 #include <sys/socket.h>