summary refs log tree commit diff
path: root/pkgs/misc/ghostscript/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/ghostscript/builder.sh')
-rw-r--r--pkgs/misc/ghostscript/builder.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/misc/ghostscript/builder.sh b/pkgs/misc/ghostscript/builder.sh
index 1a2f51b9f9ad..734738140d8a 100644
--- a/pkgs/misc/ghostscript/builder.sh
+++ b/pkgs/misc/ghostscript/builder.sh
@@ -1,5 +1,11 @@
 source $stdenv/setup
 
+preConfigure=preConfigure
+preConfigure() {
+    # "ijs" is impure: it contains symlinks to /usr/share/automake etc.!
+    rm -rf ijs/ltmain.sh
+}
+
 postInstall=postInstall
 postInstall() {
     for i in $fonts; do
@@ -7,4 +13,4 @@ postInstall() {
     done
 }
 
-genericBuild
\ No newline at end of file
+genericBuild