about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-11-16 13:28:07 +0300
committerMichael Raskin <7c6f434c@mail.ru>2014-11-16 13:28:16 +0300
commitef9a3161d74dea8cc087e8d8b23efea32bda15b9 (patch)
treed2b9dfdfb0d60fa89be71ed0857ff8451634e97a /pkgs
parent1d30b4aabdfe6c73e130ed276f86e55d4617a98c (diff)
downloadnixlib-ef9a3161d74dea8cc087e8d8b23efea32bda15b9.tar
nixlib-ef9a3161d74dea8cc087e8d8b23efea32bda15b9.tar.gz
nixlib-ef9a3161d74dea8cc087e8d8b23efea32bda15b9.tar.bz2
nixlib-ef9a3161d74dea8cc087e8d8b23efea32bda15b9.tar.lz
nixlib-ef9a3161d74dea8cc087e8d8b23efea32bda15b9.tar.xz
nixlib-ef9a3161d74dea8cc087e8d8b23efea32bda15b9.tar.zst
nixlib-ef9a3161d74dea8cc087e8d8b23efea32bda15b9.zip
Fix obsolete gs option usage by asymptote
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/graphics/asymptote/default.nix5
1 files changed, 5 insertions, 0 deletions
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";