darwin.architecture: add postPatch back in
I didn't think it was even being called before, but now getting this error: https://hydra.nixos.org/build/73955984/nixlog/1
This commit is contained in:
parent
805b3ecc55
commit
73833ee446
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,13 @@
|
|||
appleDerivation {
|
||||
dontBuild = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace $sourceRoot/Makefile \
|
||||
--replace "/usr/include" "/include" \
|
||||
--replace "/usr/bin/" "" \
|
||||
--replace "/bin/" ""
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
export DSTROOT=$out
|
||||
make install
|
||||
|
|
Loading…
Reference in a new issue