apple_sdk.libs.sandbox: init

authored by Andrew Childs and committed by Dmitry Kalinkin 5268bf50 55764607

+12
+12
pkgs/os-specific/darwin/apple-sdk/default.nix
··· 241 popd >/dev/null 242 ''; 243 }; 244 }; 245 246 overrides = super: {
··· 241 popd >/dev/null 242 ''; 243 }; 244 + 245 + sandbox = stdenv.mkDerivation { 246 + name = "apple-lib-sandbox"; 247 + dontUnpack = true; 248 + 249 + installPhase = '' 250 + mkdir -p $out/include $out/lib 251 + ln -s "${lib.getDev sdk}/include/sandbox.h" $out/include/sandbox.h 252 + cp "${darwin-stubs}/usr/lib/libsandbox.1.tbd" $out/lib 253 + ln -s libsandbox.1.tbd $out/lib/libsandbox.tbd 254 + ''; 255 + }; 256 }; 257 258 overrides = super: {