From e5f9db31352ccd43e607ee8c68d5bfb74c075ef8 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 25 Mar 2021 15:28:57 +0100 Subject: [PATCH] git-bz: stay with python2 --- .../version-management/git-and-tools/git-bz/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/git-bz/default.nix b/pkgs/applications/version-management/git-and-tools/git-bz/default.nix index 20e6a993cab2..eec9b7ea1246 100644 --- a/pkgs/applications/version-management/git-and-tools/git-bz/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-bz/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchgit , asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto -, pythonPackages }: +, python2Packages }: stdenv.mkDerivation { pname = "git-bz"; @@ -16,7 +16,7 @@ stdenv.mkDerivation { asciidoc docbook_xml_dtd_45 docbook_xsl libxslt makeWrapper xmlto ]; buildInputs = [] - ++ (with pythonPackages; [ python pysqlite ]); + ++ (with python2Packages; [ python pysqlite ]); postPatch = '' patchShebangs configure @@ -27,8 +27,8 @@ stdenv.mkDerivation { postInstall = '' wrapProgram $out/bin/git-bz \ - --prefix PYTHONPATH : "$(toPythonPath "${pythonPackages.pycrypto}")" \ - --prefix PYTHONPATH : "$(toPythonPath "${pythonPackages.pysqlite}")" + --prefix PYTHONPATH : "$(toPythonPath "${python2Packages.pycrypto}")" \ + --prefix PYTHONPATH : "$(toPythonPath "${python2Packages.pysqlite}")" ''; meta = with lib; {