blob: f4e9955a0b9b5180eab8eb17b9fff025f3f7cf7a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ darwin-stubs, stdenvNoCC }:
stdenvNoCC.mkDerivation {
pname = "apple-lib-sandbox";
inherit (darwin-stubs) version;
buildCommand = ''
mkdir -p $out/include $out/lib
cp "${darwin-stubs}/usr/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
'';
}
|