tweak: make it build on darwin

This commit is contained in:
Francisco Demartino 2023-11-14 12:44:15 -03:00 committed by Francisco Demartino
parent 1cddb23c7d
commit d8d73601f0

View File

@ -11,11 +11,12 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses ];
preBuild = "substituteInPlace Makefile --replace '$(DESTDIR)/usr/local' $out";
makeFlags = [ "CC:=$(CC)" "LINK:=$(CC)" ];
meta = with lib; {
description = "An efficient hex editor";
homepage = "http://www.chiark.greenend.org.uk/~sgtatham/tweak";
license = licenses.mit;
platforms = platforms.linux;
platforms = platforms.unix;
};
}