From 7ade583953fd0ab91eb926d335348a8d6bf6cba7 Mon Sep 17 00:00:00 2001 From: Vladimir Still Date: Sat, 8 Nov 2014 14:28:40 +0100 Subject: 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. --- pkgs/tools/typesetting/rubber/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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"; -- cgit 1.4.1