git.iko.soy/typeable/nixpkgs
on master help sign in
rubber: wrap Python programs
commit3856e6939fc683c2568afb1889311e97728022a8 authorThomas Tuegel <ttuegel@gmail.com> dateWed 9 Dec 2015, 16:27 (11 years ago) parentaab20cd
1 file changed+4−1
pkgs/tools/typesetting/rubber/default.nix+4−1
pkgs/tools/typesetting/rubber/default.nix+4−1
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, python, texinfo }:
1+{ fetchurl, stdenv, python, pythonPackages, texinfo }:
22
33stdenv.mkDerivation rec {
44 name = "rubber-1.3";
@@ -9,11 +9,14 @@ stdenv.mkDerivation rec {
99 };
1010
1111 buildInputs = [ python texinfo ];
12+ nativeBuildInputs = [ pythonPackages.wrapPython ];
1213
1314 patchPhase = ''
1415 substituteInPlace configure --replace which "type -P"
1516 '';
1617
18+ postInstall = "wrapPythonPrograms";
19+
1720 meta = {
1821 description = "Wrapper for LaTeX and friends";
1922 longDescription = ''