darwin.architecture: fix sandbox build
Re-applies bad2db31b7b256e7b26f60e18dd2301cd277880c. This reverts commit f84aef11a4cea741b68e2966f5f189320708bc60.
This commit is contained in:
parent
cbb03f5564
commit
97c05bda52
@ -3,6 +3,12 @@
|
|||||||
appleDerivation {
|
appleDerivation {
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace '/bin/mkdir' 'mkdir' \
|
||||||
|
--replace '/usr/bin/install' 'install'
|
||||||
|
'';
|
||||||
|
|
||||||
installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
|
installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
|
||||||
|
|
||||||
DSTROOT = "$(out)";
|
DSTROOT = "$(out)";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user