ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
21 lines
445 B
Nix
21 lines
445 B
Nix
{ lib, 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 lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|