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