nix: set 'build-use-sandbox = false' for now.

This makes nix work again; tested and verified on my system.

Close #18970
This commit is contained in:
Juan RP 2020-03-20 10:09:55 +01:00
parent b7df13d288
commit 036b49d942
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -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