mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
d000198ab7
I’m not going to fix all of them but this is the best way to do this in Apple things. Just add ‘EXPORT_DSTDIR’ to the installFlags & set ‘DSTDIR’ to $(out). Please do this instead of the patching!
16 lines
310 B
Nix
16 lines
310 B
Nix
{ stdenv, appleDerivation }:
|
|
|
|
appleDerivation {
|
|
dontBuild = true;
|
|
|
|
installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
|
|
|
|
DSTROOT = "$(out)";
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|