revert to __impureHostDeps where possible
This commit is contained in:
parent
8ea29441cf
commit
d539d9c935
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
sandboxProfile = stdenv.lib.sandbox.allowFileRead "/dev/ptmx";
|
__impureHostDeps = [ "/dev/ptmx" ];
|
||||||
|
|
||||||
# To fix the trouble in vim73, that it cannot cross-build with this patch
|
# To fix the trouble in vim73, that it cannot cross-build with this patch
|
||||||
# to bypass a configure script check that cannot be done cross-building.
|
# to bypass a configure script check that cannot be done cross-building.
|
||||||
|
@ -96,9 +96,7 @@ let
|
|||||||
propagatedBuildInputs = deps;
|
propagatedBuildInputs = deps;
|
||||||
|
|
||||||
# allows building the symlink tree
|
# allows building the symlink tree
|
||||||
sandboxProfile = ''
|
__impureHostDeps = [ "/System/Library/Frameworks/${name}.framework" ];
|
||||||
(allow file-read* (subpath "/System/Library/Frameworks/${name}.framework"))
|
|
||||||
'';
|
|
||||||
|
|
||||||
__propagatedImpureHostDeps = stdenv.lib.optional (name != "Kernel") "/System/Library/Frameworks/${name}.framework/${name}";
|
__propagatedImpureHostDeps = stdenv.lib.optional (name != "Kernel") "/System/Library/Frameworks/${name}.framework/${name}";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user