From 080daf40c8ad9769f506388ec59f490399be972b Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 9 Nov 2016 15:02:44 +0100 Subject: [PATCH] rubber: use python2 --- pkgs/tools/typesetting/rubber/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/typesetting/rubber/default.nix b/pkgs/tools/typesetting/rubber/default.nix index 2b8505ac5df0..a9403020e41b 100644 --- a/pkgs/tools/typesetting/rubber/default.nix +++ b/pkgs/tools/typesetting/rubber/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, python, pythonPackages, texinfo }: +{ fetchurl, stdenv, python2Packages, texinfo }: stdenv.mkDerivation rec { name = "rubber-1.3"; @@ -8,8 +8,8 @@ stdenv.mkDerivation rec { sha256 = "09715apfd6a0haz1mqsxgm8sj4rwzi38gcz2kz020zxk5rh0dksh"; }; - buildInputs = [ python texinfo ]; - nativeBuildInputs = [ pythonPackages.wrapPython ]; + buildInputs = [ python2Packages.python texinfo ]; + nativeBuildInputs = [ python2Packages.wrapPython ]; patchPhase = '' substituteInPlace configure --replace which "type -P"