File tree 1 file changed +7
-4
lines changed
pkgs/os-specific/darwin/apple-sdk
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,13 @@ let
136
136
# don't use pure CF for dylibs that depend on frameworks
137
137
setupHook = ./framework-setup-hook.sh ;
138
138
139
- # allows building the symlink tree
140
- __impureHostDeps = [ "/System/Library/Frameworks/${ name } .framework" ] ;
141
-
142
- __propagatedImpureHostDeps = stdenv . lib . optional ( name != "Kernel" ) "/System/Library/Frameworks/${ name } .framework/${ name } " ;
139
+ # Not going to be more specific than this for now
140
+ __propagatedImpureHostDeps = stdenv . lib . optionals ( name != "Kernel" ) [
141
+ # The setup-hook ensures that everyone uses the impure CoreFoundation who uses these SDK frameworks, so let's expose it
142
+ "/System/Library/Frameworks/CoreFoundation.framework"
143
+ "/System/Library/Frameworks/${ name } .framework"
144
+ "/System/Library/Frameworks/${ name } .framework/${ name } "
145
+ ] ;
143
146
144
147
meta = with stdenv . lib ; {
145
148
description = "Apple SDK framework ${ name } " ;
You can’t perform that action at this time.
0 commit comments