Merge pull request #173048 from W95Psp/ploticus-patch

ploticus: fix
This commit is contained in:
Robert Scott
2022-05-15 14:14:59 +01:00
committed by GitHub
+4 -1
View File
@@ -4,6 +4,7 @@
, zlib
, libX11
, libpng
, libjpeg
, gd
, freetype
}:
@@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
libpng
gd
freetype
libjpeg
];
hardeningDisable = [ "format" ];
@@ -43,6 +45,7 @@ stdenv.mkDerivation rec {
preBuild = ''
cd src
'';
makeFlags = [ "CC=cc" ];
preInstall = ''
mkdir -p "$out/bin"
@@ -72,6 +75,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
maintainers = with maintainers; [ pSub ];
homepage = "http://ploticus.sourceforge.net/";
platforms = with platforms; linux;
platforms = with platforms; linux ++ darwin;
};
}