Merge pull request #55784 from LnL7/darwin-architecture

darwin.architecture: fix sandbox build
This commit is contained in:
Daniel Peebles 2019-02-16 14:47:18 -05:00 committed by GitHub
commit cc8545fa5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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