forked from mirrors/nixpkgs
darwin.architecture: fix sandbox build
Re-appliesbad2db31b7
. This reverts commitf84aef11a4
.
This commit is contained in:
parent
cbb03f5564
commit
97c05bda52
|
@ -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