tweak: make it build on darwin

authored by

Francisco Demartino and committed by
Francisco Demartino
d8d73601 1cddb23c

+2 -1
+2 -1
pkgs/applications/editors/tweak/default.nix
··· 11 12 buildInputs = [ ncurses ]; 13 preBuild = "substituteInPlace Makefile --replace '$(DESTDIR)/usr/local' $out"; 14 15 meta = with lib; { 16 description = "An efficient hex editor"; 17 homepage = "http://www.chiark.greenend.org.uk/~sgtatham/tweak"; 18 license = licenses.mit; 19 - platforms = platforms.linux; 20 }; 21 }
··· 11 12 buildInputs = [ ncurses ]; 13 preBuild = "substituteInPlace Makefile --replace '$(DESTDIR)/usr/local' $out"; 14 + makeFlags = [ "CC:=$(CC)" "LINK:=$(CC)" ]; 15 16 meta = with lib; { 17 description = "An efficient hex editor"; 18 homepage = "http://www.chiark.greenend.org.uk/~sgtatham/tweak"; 19 license = licenses.mit; 20 + platforms = platforms.unix; 21 }; 22 }