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 {
|
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…
Reference in New Issue
Block a user