From ef9a3161d74dea8cc087e8d8b23efea32bda15b9 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 16 Nov 2014 13:28:07 +0300 Subject: [PATCH] Fix obsolete gs option usage by asymptote --- pkgs/tools/graphics/asymptote/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/graphics/asymptote/default.nix b/pkgs/tools/graphics/asymptote/default.nix index 5109bb45e30c..6cab550d82b5 100644 --- a/pkgs/tools/graphics/asymptote/default.nix +++ b/pkgs/tools/graphics/asymptote/default.nix @@ -32,6 +32,7 @@ rec { /* doConfigure should be removed if not needed */ phaseNames = ["setVars" "doUnpack" "fixPaths" "extractTexinfoTex" + "fixEpsWrite" "doConfigure" "dumpRealVars" "doMakeInstall" "fixPathsResult" "fixInfoDir"]; @@ -58,6 +59,10 @@ rec { cp texinfo-*/doc/texinfo.tex doc/ '' ["minInit" "addInputs" "doUnpack"]; + fixEpsWrite = a.fullDepEntry '' + sed -e 's@epswrite@eps2write@g' -i runlabel.in + '' ["minInit" "addInputs" "doUnpack"]; + meta = { inherit (s) version; description = "A tool for programming graphics intended to replace Metapost";