gitSVN,gitMinimal: remove appendToName to have a consistent package n… (#161390)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Felix Bühler 2022-03-01 10:47:32 +01:00 committed by GitHub
parent 64a89aac86
commit cba041c35d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,9 @@ let
in
stdenv.mkDerivation {
pname = "git";
pname = "git"
+ lib.optionalString svnSupport "-with-svn"
+ lib.optionalString (!svnSupport && !guiSupport && !sendEmailSupport && !withManual && !pythonSupport && !withpcre2) "-minimal";
inherit version;
src = fetchurl {

View File

@ -25996,9 +25996,7 @@ with pkgs;
};
# Git with SVN support, but without GUI.
gitSVN = lowPrio (appendToName "with-svn" (git.override {
svnSupport = true;
}));
gitSVN = lowPrio (git.override { svnSupport = true; });
git-doc = lib.addMetaAttrs {
description = "Additional documentation for Git";
@ -26008,11 +26006,11 @@ with pkgs;
'';
} gitFull.doc;
gitMinimal = appendToName "minimal" (git.override {
gitMinimal = git.override {
withManual = false;
pythonSupport = false;
withpcre2 = false;
});
};
gitRepo = callPackage ../applications/version-management/git-repo { };