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;
|
|
};
|
|
}
|