gitRepo: Switch to Python 3

This commit is contained in:
Michael Weiss
2020-02-04 14:29:29 +01:00
parent 7d4b5a2154
commit eacc771f72
2 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, makeWrapper
, python, git, gnupg, less, cacert
, python3, git, gnupg, less, cacert
}:
stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ python ];
buildInputs = [ python3 ];
patchPhase = ''
substituteInPlace repo --replace \

View File

@@ -19278,9 +19278,7 @@ in
withpcre2 = false;
};
gitRepo = callPackage ../applications/version-management/git-repo {
python = python27;
};
gitRepo = callPackage ../applications/version-management/git-repo { };
git-quick-stats = callPackage ../development/tools/git-quick-stats {};