diff options
author | Jude Taylor <me@jude.bio> | 2015-11-21 11:17:30 -0800 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2015-11-21 11:17:30 -0800 |
commit | a63346e33ca05f691e6854b896eac5cef99b4ef8 (patch) | |
tree | 5e27080963e9ca9499e194912f471d93ffc86447 /pkgs/os-specific/darwin/apple-sdk | |
parent | db995a95ee5f9861cac3bd6bdc510810de68da62 (diff) | |
download | nixpkgs-a63346e33ca05f691e6854b896eac5cef99b4ef8.tar nixpkgs-a63346e33ca05f691e6854b896eac5cef99b4ef8.tar.gz nixpkgs-a63346e33ca05f691e6854b896eac5cef99b4ef8.tar.bz2 nixpkgs-a63346e33ca05f691e6854b896eac5cef99b4ef8.tar.lz nixpkgs-a63346e33ca05f691e6854b896eac5cef99b4ef8.tar.xz nixpkgs-a63346e33ca05f691e6854b896eac5cef99b4ef8.tar.zst nixpkgs-a63346e33ca05f691e6854b896eac5cef99b4ef8.zip |
use single underscore for sandboxProfile
Diffstat (limited to 'pkgs/os-specific/darwin/apple-sdk')
-rw-r--r-- | pkgs/os-specific/darwin/apple-sdk/default.nix | 6 | ||||
-rw-r--r-- | pkgs/os-specific/darwin/apple-sdk/generate-framework-profile.nix | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/os-specific/darwin/apple-sdk/default.nix b/pkgs/os-specific/darwin/apple-sdk/default.nix index b31e5d043ef..a422bfa6452 100644 --- a/pkgs/os-specific/darwin/apple-sdk/default.nix +++ b/pkgs/os-specific/darwin/apple-sdk/default.nix @@ -97,11 +97,11 @@ let propagatedBuildInputs = deps; # allows building the symlink tree - __sandboxProfile = '' + _sandboxProfile = '' (allow file-read* (subpath "/System/Library/Frameworks/${name}.framework")) ''; - __propagatedSandboxProfile = stdenv.lib.sandbox.importProfile (generateFrameworkProfile name); + _propagatedSandboxProfile = stdenv.lib.sandbox.importProfile (generateFrameworkProfile name); meta = with stdenv.lib; { description = "Apple SDK framework ${name}"; @@ -165,7 +165,7 @@ in rec { }); CoreServices = stdenv.lib.overrideDerivation super.CoreServices (drv: { - __propagatedSandboxProfile = drv.__propagatedSandboxProfile ++ ['' + _propagatedSandboxProfile = drv._propagatedSandboxProfile ++ ['' (allow mach-lookup (global-name "com.apple.CoreServices.coreservicesd")) '']; }); diff --git a/pkgs/os-specific/darwin/apple-sdk/generate-framework-profile.nix b/pkgs/os-specific/darwin/apple-sdk/generate-framework-profile.nix index eb6228db14d..a0d37c5db38 100644 --- a/pkgs/os-specific/darwin/apple-sdk/generate-framework-profile.nix +++ b/pkgs/os-specific/darwin/apple-sdk/generate-framework-profile.nix @@ -14,7 +14,7 @@ let path = "/System/Library/Frameworks/${frameworkName}.framework"; in runCommand "${frameworkName}-profile.sb" { # __noChroot lite - __sandboxProfile = '' + _sandboxProfile = '' (allow file* (subpath "/")) ''; |