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