Merge pull request #173048 from W95Psp/ploticus-patch

ploticus: fix
main
Robert Scott 2 years ago committed by GitHub
commit db5b502275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pkgs/tools/graphics/ploticus/default.nix

@ -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;
};
}

Loading…
Cancel
Save