texlive.bin.dvipng: refactor gs hardcoding, add a test for it

This commit is contained in:
Dmitry Kalinkin
2021-03-18 20:55:35 -04:00
parent 03eb6426af
commit 6829f9e141
2 changed files with 45 additions and 7 deletions
+2 -5
View File
@@ -281,12 +281,9 @@ dvipng = stdenv.mkDerivation {
configureFlags = common.configureFlags
++ [ "--with-system-kpathsea" "--with-gs=yes" "--disable-debug" ];
enableParallelBuilding = true;
GS="${ghostscript}/bin/gs";
# I didn't manage to hardcode gs location by configureFlags
postInstall = ''
wrapProgram "$out/bin/dvipng" --prefix PATH : '${ghostscript}/bin'
'';
enableParallelBuilding = true;
};