diff options
author | zimbatm <zimbatm@zimbatm.com> | 2016-12-13 11:35:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 11:35:15 +0000 |
commit | cbdc94f2b7798ac4b2c0f1b564607e64a03996d2 (patch) | |
tree | 3ea659a1873440b0e6105197ff1c411fdc77f85d /pkgs/development | |
parent | 50466c2d4feca9eee52815eebb30ab6c62dc4deb (diff) | |
download | nixlib-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar nixlib-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.gz nixlib-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.bz2 nixlib-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.lz nixlib-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.xz nixlib-cbdc94f2b7798ac4b2c0f1b564607e64a03996d2.tar.zst nixlib-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')
-rw-r--r-- | pkgs/development/go-modules/generic/default.nix | 2 |
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; |