mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
97c05bda52
Re-appliesbad2db31b7
. This reverts commitf84aef11a4
.
22 lines
455 B
Nix
22 lines
455 B
Nix
{ stdenv, appleDerivation }:
|
|
|
|
appleDerivation {
|
|
dontBuild = true;
|
|
|
|
postPatch = ''
|
|
substituteInPlace Makefile \
|
|
--replace '/bin/mkdir' 'mkdir' \
|
|
--replace '/usr/bin/install' 'install'
|
|
'';
|
|
|
|
installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
|
|
|
|
DSTROOT = "$(out)";
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|