From 036b49d942e701285cf755a9e8f5ebe7ac2ec799 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Mar 2020 10:09:55 +0100 Subject: [PATCH] nix: set 'build-use-sandbox = false' for now. This makes nix work again; tested and verified on my system. Close #18970 --- srcpkgs/nix/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/nix/template b/srcpkgs/nix/template index 4321f6ef672..fc327774af7 100644 --- a/srcpkgs/nix/template +++ b/srcpkgs/nix/template @@ -1,7 +1,7 @@ # Template file for 'nix' pkgname=nix version=2.3.3 -revision=1 +revision=2 build_style=gnu-configure # Use /nix/var as suggested by the official Manual. configure_args="--localstatedir=/nix/var --with-sandbox-shell=/bin/sh" @@ -66,6 +66,7 @@ post_install() { echo 'export NIX_REMOTE=daemon' > ${DESTDIR}/etc/profile.d/nix-daemon.sh # Setup build users. echo 'build-users-group = nixbld' > ${DESTDIR}/etc/nix/nix.conf + echo 'build-use-sandbox = false' >> ${DESTDIR}/etc/nix/nix.conf # Install our profile.d/nix for multi-user by default. vinstall ${FILESDIR}/nix.sh 644 etc/profile.d # runit service