diff --git a/pkgs/by-name/ps/pstoedit/package.nix b/pkgs/by-name/ps/pstoedit/package.nix index 6bf494702eb2..6b93fb4ec998 100644 --- a/pkgs/by-name/ps/pstoedit/package.nix +++ b/pkgs/by-name/ps/pstoedit/package.nix @@ -50,12 +50,6 @@ stdenv.mkDerivation rec { libiconv ]; - # '@LIBPNG_LDFLAGS@' is no longer substituted by autoconf (the code is commented out) - # so we need to remove it from the pkg-config file as well - preConfigure = '' - substituteInPlace config/pstoedit.pc.in --replace '@LIBPNG_LDFLAGS@' "" - ''; - postInstall = '' wrapProgram $out/bin/pstoedit \ --prefix PATH : ${lib.makeBinPath [ ghostscript ]}