From 1138b5dc7e121ddd2e51fe4c613271df60328a5a Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 12 Aug 2016 00:07:13 -0500 Subject: [PATCH] tm: fix darwin build --- pkgs/tools/system/tm/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/system/tm/default.nix b/pkgs/tools/system/tm/default.nix index a297f9371001..3326f535b5f6 100644 --- a/pkgs/tools/system/tm/default.nix +++ b/pkgs/tools/system/tm/default.nix @@ -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";