about summary refs log tree commit diff
path: root/pkgs/tools/typesetting/rubber
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-12-09 16:27:49 -0600
committerThomas Tuegel <ttuegel@gmail.com>2015-12-09 16:27:49 -0600
commit3856e6939fc683c2568afb1889311e97728022a8 (patch)
treec607e1eacfdf8c3f6cd3b90839bc088328e9b767 /pkgs/tools/typesetting/rubber
parentaab20cdc510dc2cf109061992acd02bd19415f7d (diff)
downloadnixlib-3856e6939fc683c2568afb1889311e97728022a8.tar
nixlib-3856e6939fc683c2568afb1889311e97728022a8.tar.gz
nixlib-3856e6939fc683c2568afb1889311e97728022a8.tar.bz2
nixlib-3856e6939fc683c2568afb1889311e97728022a8.tar.lz
nixlib-3856e6939fc683c2568afb1889311e97728022a8.tar.xz
nixlib-3856e6939fc683c2568afb1889311e97728022a8.tar.zst
nixlib-3856e6939fc683c2568afb1889311e97728022a8.zip
rubber: wrap Python programs
Diffstat (limited to 'pkgs/tools/typesetting/rubber')
-rw-r--r--pkgs/tools/typesetting/rubber/default.nix5
1 files changed, 4 insertions, 1 deletions
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 = ''