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:
Matthew Justin Bauer 2018-05-11 08:14:21 -05:00 committed by GitHub
parent 805b3ecc55
commit 73833ee446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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