darwin.architecture: fix sandbox build

Re-applies bad2db31b7.

This reverts commit f84aef11a4.
This commit is contained in:
Daiderd Jordan 2019-02-17 10:11:25 +01:00
parent cbb03f5564
commit 97c05bda52
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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)";