propagate nothing for Kernel.framework since it exposes no library

This commit is contained in:
Jude Taylor 2015-11-21 15:59:43 -08:00
parent 4cd86cb068
commit 32cb70bb07

View File

@ -100,7 +100,7 @@ let
(allow file-read* (subpath "/System/Library/Frameworks/${name}.framework")) (allow file-read* (subpath "/System/Library/Frameworks/${name}.framework"))
''; '';
__propagatedImpureHostDeps = [ "/System/Library/Frameworks/${name}.framework/${name}" ]; __propagatedImpureHostDeps = stdenv.lib.optional (name != "Kernel") "/System/Library/Frameworks/${name}.framework/${name}";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Apple SDK framework ${name}"; description = "Apple SDK framework ${name}";