diff --git a/pkgs/tools/typesetting/rubber/default.nix b/pkgs/tools/typesetting/rubber/default.nix index 101f43e86ce6..96e1f532bffd 100644 --- a/pkgs/tools/typesetting/rubber/default.nix +++ b/pkgs/tools/typesetting/rubber/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, python, texinfo }: +{ fetchurl, stdenv, python, pythonPackages, texinfo }: stdenv.mkDerivation rec { name = "rubber-1.3"; @@ -9,11 +9,14 @@ stdenv.mkDerivation rec { }; buildInputs = [ python texinfo ]; + nativeBuildInputs = [ pythonPackages.wrapPython ]; patchPhase = '' substituteInPlace configure --replace which "type -P" ''; + postInstall = "wrapPythonPrograms"; + meta = { description = "Wrapper for LaTeX and friends"; longDescription = ''