gitRepo: Switch to Python 3
This commit is contained in:
parent
7d4b5a2154
commit
eacc771f72
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper
|
{ stdenv, fetchFromGitHub, makeWrapper
|
||||||
, python, git, gnupg, less, cacert
|
, python3, git, gnupg, less, cacert
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ python ];
|
buildInputs = [ python3 ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace repo --replace \
|
substituteInPlace repo --replace \
|
||||||
|
@ -19278,9 +19278,7 @@ in
|
|||||||
withpcre2 = false;
|
withpcre2 = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
gitRepo = callPackage ../applications/version-management/git-repo {
|
gitRepo = callPackage ../applications/version-management/git-repo { };
|
||||||
python = python27;
|
|
||||||
};
|
|
||||||
|
|
||||||
git-quick-stats = callPackage ../development/tools/git-quick-stats {};
|
git-quick-stats = callPackage ../development/tools/git-quick-stats {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user