mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
darwin.architecture: fix sandbox build
This commit is contained in:
parent
0ac83f0857
commit
e79278e4cd
|
@ -3,6 +3,12 @@
|
|||
appleDerivation {
|
||||
dontBuild = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace '/bin/mkdir' 'mkdir' \
|
||||
--replace '/usr/bin/install' 'install'
|
||||
'';
|
||||
|
||||
installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
|
||||
|
||||
DSTROOT = "$(out)";
|
||||
|
|
Loading…
Reference in a new issue