From 848ecbb5bcfe5b499299ae152567f7a5969daf5a Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sat, 28 Jul 2018 00:32:29 +0200 Subject: [PATCH] buildenv: remove sandbox profile This shouldn't be necessary anymore and it breaks nix-env/nix-channel when non 'relaxed' sandboxing is enabled. --- corepkgs/buildenv.nix | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/corepkgs/buildenv.nix b/corepkgs/buildenv.nix index 5e7b40eaa..7dd000a8d 100644 --- a/corepkgs/buildenv.nix +++ b/corepkgs/buildenv.nix @@ -25,20 +25,5 @@ derivation { # Also don't bother substituting. allowSubstitutes = false; - __sandboxProfile = '' - (allow sysctl-read) - (allow file-read* - (literal "/usr/lib/libSystem.dylib") - (literal "/usr/lib/libSystem.B.dylib") - (literal "/usr/lib/libobjc.A.dylib") - (literal "/usr/lib/libobjc.dylib") - (literal "/usr/lib/libauto.dylib") - (literal "/usr/lib/libc++abi.dylib") - (literal "/usr/lib/libc++.1.dylib") - (literal "/usr/lib/libDiagnosticMessagesClient.dylib") - (subpath "/usr/lib/system") - (subpath "/dev")) - ''; - inherit chrootDeps; }