buildGoPackage: remove go version from name (#21111)
As a user installing the program it's not interesting what go version it was compiled against. Not more interesting than any other potential dependencies. It also makes it harder to install or update the package.
This commit is contained in:
@@ -69,7 +69,7 @@ in
|
||||
go.stdenv.mkDerivation (
|
||||
(builtins.removeAttrs args [ "goPackageAliases" "disabled" ]) // {
|
||||
|
||||
name = "go${go.meta.branch}-${name}";
|
||||
inherit name;
|
||||
nativeBuildInputs = [ go parallel ]
|
||||
++ (lib.optional (!dontRenameImports) govers) ++ nativeBuildInputs;
|
||||
buildInputs = [ go ] ++ buildInputs;
|
||||
|
||||
Reference in New Issue
Block a user