mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 06:36:43 +00:00
73833ee446
I didn't think it was even being called before, but now getting this error: https://hydra.nixos.org/build/73955984/nixlog/1
24 lines
467 B
Nix
24 lines
467 B
Nix
{ stdenv, appleDerivation }:
|
|
|
|
appleDerivation {
|
|
dontBuild = true;
|
|
|
|
postPatch = ''
|
|
substituteInPlace $sourceRoot/Makefile \
|
|
--replace "/usr/include" "/include" \
|
|
--replace "/usr/bin/" "" \
|
|
--replace "/bin/" ""
|
|
'';
|
|
|
|
installPhase = ''
|
|
export DSTROOT=$out
|
|
make install
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|