From cbdc94f2b7798ac4b2c0f1b564607e64a03996d2 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 13 Dec 2016 11:35:15 +0000 Subject: 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. --- pkgs/development/go-modules/generic/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/go-modules/generic') 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; -- cgit 1.4.1