tm: fix darwin build

This commit is contained in:
Matthew Bauer 2016-08-12 00:07:13 -05:00
parent 2ecb5ddea7
commit 1138b5dc7e

View file

@ -6,7 +6,9 @@ stdenv.mkDerivation {
installPhase=''make install "PREFIX=$out"'';
patchPhase = ''sed -i 's@/usr/bin/install@install@g' Makefile'';
patchPhase = ''
sed -i 's@/usr/bin/install@install@g ; s/gcc/cc/g' Makefile
'';
crossAttrs = {
makeFlags = "CC=${stdenv.cross.config}-gcc";