shhmsg: fix darwin build
This commit is contained in:
parent
413fbf5b9f
commit
5eeece814a
|
@ -8,13 +8,16 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0ax02fzqpaxr7d30l5xbndy1s5vgg1ag643c7zwiw2wj1czrxil8";
|
sha256 = "0ax02fzqpaxr7d30l5xbndy1s5vgg1ag643c7zwiw2wj1czrxil8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
|
||||||
|
'';
|
||||||
|
|
||||||
installFlags = [ "INSTBASEDIR=$(out)" ];
|
installFlags = [ "INSTBASEDIR=$(out)" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A library for displaying messages";
|
description = "A library for displaying messages";
|
||||||
homepage = "https://shh.thathost.com/pub-unix/";
|
homepage = "https://shh.thathost.com/pub-unix/";
|
||||||
license = licenses.artistic1;
|
license = licenses.artistic1;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue