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:
Anthony Cowley 2016-11-11 17:29:50 -05:00 committed by Daiderd Jordan
parent 6e91b74839
commit 1712366bac
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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