3
0
Fork 0
forked from mirrors/nixpkgs

rubber: wrap Python programs

This commit is contained in:
Thomas Tuegel 2015-12-09 16:27:49 -06:00
parent aab20cdc51
commit 3856e6939f

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, python, texinfo }: { fetchurl, stdenv, python, pythonPackages, texinfo }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rubber-1.3"; name = "rubber-1.3";
@ -9,11 +9,14 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ python texinfo ]; buildInputs = [ python texinfo ];
nativeBuildInputs = [ pythonPackages.wrapPython ];
patchPhase = '' patchPhase = ''
substituteInPlace configure --replace which "type -P" substituteInPlace configure --replace which "type -P"
''; '';
postInstall = "wrapPythonPrograms";
meta = { meta = {
description = "Wrapper for LaTeX and friends"; description = "Wrapper for LaTeX and friends";
longDescription = '' longDescription = ''