shhmsg: fix darwin build

This commit is contained in:
Ben Siraphob 2021-03-12 13:03:18 +07:00
parent 413fbf5b9f
commit 5eeece814a

View file

@ -8,13 +8,16 @@ stdenv.mkDerivation rec {
sha256 = "0ax02fzqpaxr7d30l5xbndy1s5vgg1ag643c7zwiw2wj1czrxil8";
};
postPatch = ''
substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
'';
installFlags = [ "INSTBASEDIR=$(out)" ];
meta = with lib; {
description = "A library for displaying messages";
homepage = "https://shh.thathost.com/pub-unix/";
license = licenses.artistic1;
platforms = platforms.linux;
platforms = platforms.all;
};
}