summaryrefslogtreecommitdiffstats
path: root/pkgs/development/go-modules
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2016-12-13 11:35:15 +0000
committerGitHub <noreply@github.com>2016-12-13 11:35:15 +0000
commitcbdc94f2b7798ac4b2c0f1b564607e64a03996d2 (patch)
tree3ea659a1873440b0e6105197ff1c411fdc77f85d /pkgs/development/go-modules
parent50466c2d4feca9eee52815eebb30ab6c62dc4deb (diff)
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.
Diffstat (limited to 'pkgs/development/go-modules')
-rw-r--r--pkgs/development/go-modules/generic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix
index e076c6ca90ed..d3a31f321892 100644
--- a/pkgs/development/go-modules/generic/default.nix
+++ b/pkgs/development/go-modules/generic/default.nix
@@ -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;