ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
20 lines
411 B
Nix
20 lines
411 B
Nix
{ stdenvNoCC, buildPackages, MacOSX-SDK }:
|
|
|
|
let self = stdenvNoCC.mkDerivation {
|
|
pname = "libnetwork";
|
|
version = MacOSX-SDK.version;
|
|
|
|
dontUnpack = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib
|
|
cp ${MacOSX-SDK}/usr/lib/libnetwork* $out/lib
|
|
'';
|
|
|
|
passthru = {
|
|
tbdRewrites = {
|
|
const."/usr/lib/libnetwork.dylib" = "${self}/lib/libnetwork.dylib";
|
|
};
|
|
};
|
|
}; in self
|