diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-12-09 16:27:49 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-12-09 16:27:49 -0600 |
commit | 3856e6939fc683c2568afb1889311e97728022a8 (patch) | |
tree | c607e1eacfdf8c3f6cd3b90839bc088328e9b767 /pkgs/tools/typesetting/rubber | |
parent | aab20cdc510dc2cf109061992acd02bd19415f7d (diff) |
rubber: wrap Python programs
Diffstat (limited to 'pkgs/tools/typesetting/rubber')
-rw-r--r-- | pkgs/tools/typesetting/rubber/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/rubber/default.nix b/pkgs/tools/typesetting/rubber/default.nix index 101f43e86ce63..96e1f532bffd1 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 = '' |