mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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:
parent
50466c2d4f
commit
cbdc94f2b7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user