apple_sdk.libs.sandbox: init

This commit is contained in:
Andrew Childs 2021-03-16 23:12:38 +09:00 committed by Dmitry Kalinkin
parent 55764607d9
commit 5268bf50d2

View file

@ -241,6 +241,18 @@ in rec {
popd >/dev/null
'';
};
sandbox = stdenv.mkDerivation {
name = "apple-lib-sandbox";
dontUnpack = true;
installPhase = ''
mkdir -p $out/include $out/lib
ln -s "${lib.getDev sdk}/include/sandbox.h" $out/include/sandbox.h
cp "${darwin-stubs}/usr/lib/libsandbox.1.tbd" $out/lib
ln -s libsandbox.1.tbd $out/lib/libsandbox.tbd
'';
};
};
overrides = super: {