apple-sdk: Include system cups libraries
The SDK includes cups header files, but not the libraries. The `nixpkgs.cups` definition doesn't build on darwin due to the SDK being too old. This change symlinks the system cups libraries into the old SDK.
This commit is contained in:
parent
6e91b74839
commit
1712366bac
@ -31,6 +31,10 @@ let
|
||||
mv System/* .
|
||||
rmdir System
|
||||
|
||||
pushd lib
|
||||
ln -s -L /usr/lib/libcups*.dylib .
|
||||
popd
|
||||
|
||||
cd Library/Frameworks/QuartzCore.framework/Versions/A/Headers
|
||||
for file in CI*.h; do
|
||||
rm $file
|
||||
|
Loading…
Reference in New Issue
Block a user