mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
darwin.architecture: fix sandbox build
Re-appliesbad2db31b7
. This reverts commitf84aef11a4
.
This commit is contained in:
parent
cbb03f5564
commit
97c05bda52
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue