summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimir Still <vl.still@gmail.com>2014-11-08 14:28:40 +0100
committerAristid Breitkreuz <aristidb@gmail.com>2014-11-08 19:53:17 +0100
commit7ade583953fd0ab91eb926d335348a8d6bf6cba7 (patch)
treec8910bc14cf8f461eb63bcd072d5b9bf0eea94e6
parent824879cfd4a79fbd99612daed7c798de6da9931f (diff)
downloadnixlib-7ade583953fd0ab91eb926d335348a8d6bf6cba7.tar
nixlib-7ade583953fd0ab91eb926d335348a8d6bf6cba7.tar.gz
nixlib-7ade583953fd0ab91eb926d335348a8d6bf6cba7.tar.bz2
nixlib-7ade583953fd0ab91eb926d335348a8d6bf6cba7.tar.lz
nixlib-7ade583953fd0ab91eb926d335348a8d6bf6cba7.tar.xz
nixlib-7ade583953fd0ab91eb926d335348a8d6bf6cba7.tar.zst
nixlib-7ade583953fd0ab91eb926d335348a8d6bf6cba7.zip
rubber: Disable etex detection.
If etex detection is running it forces LaTeX files using etex package to
be compiled with elatex which is no longer part of current TexLive,
efectivelly making it impossible to simply compile them without hacking
through rubber's commandline option.
I took this fix from fedora .spec for rubber.
-rw-r--r--pkgs/tools/typesetting/rubber/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/rubber/default.nix b/pkgs/tools/typesetting/rubber/default.nix
index 32545abaff2d..7c58c480a791 100644
--- a/pkgs/tools/typesetting/rubber/default.nix
+++ b/pkgs/tools/typesetting/rubber/default.nix
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
 
   patchPhase = "substituteInPlace configure --replace which \"type -P\"";
 
+  postInstall = "rm $out/share/rubber/modules/etex.rub";
+
   meta = {
     description = "Wrapper for LaTeX and friends";