1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

darwin.architecture: fix sandbox build

This commit is contained in:
Daiderd Jordan 2019-02-14 21:36:04 +01:00
parent 0ac83f0857
commit e79278e4cd
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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)";