Merge pull request #55784 from LnL7/darwin-architecture
darwin.architecture: fix sandbox build
This commit is contained in:
commit
cc8545fa5e
@ -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 New Issue
Block a user