summary refs log tree commit diff
path: root/pkgs/development/go-modules/generic
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/generic
parent50466c2d4feca9eee52815eebb30ab6c62dc4deb (diff)
downloadnixpkgs-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar
nixpkgs-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.gz
nixpkgs-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.bz2
nixpkgs-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.lz
nixpkgs-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.xz
nixpkgs-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.zst
nixpkgs-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.zip
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/generic')
-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 e076c6ca90e..d3a31f32189 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;