Skip to content

Commit

Permalink
darwin.architecture: fix sandbox build
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Feb 14, 2019
1 parent 0ac83f0 commit e79278e
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -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)";
Expand Down

0 comments on commit e79278e

Please sign in to comment.