about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathan Zadoks <nathan@nathan7.eu>2016-02-07 16:40:43 +0100
committerNathan Zadoks <nathan@nathan7.eu>2016-02-07 16:53:31 +0100
commitc998447a13e8f97f2cfce648d019a26ee5c87bba (patch)
tree628d065c70fb5b23674f9c2bf65cd9d903420c9f
parentb4da3bb88b04329984cf56540f41956299c9cdc0 (diff)
downloadnixlib-c998447a13e8f97f2cfce648d019a26ee5c87bba.tar
nixlib-c998447a13e8f97f2cfce648d019a26ee5c87bba.tar.gz
nixlib-c998447a13e8f97f2cfce648d019a26ee5c87bba.tar.bz2
nixlib-c998447a13e8f97f2cfce648d019a26ee5c87bba.tar.lz
nixlib-c998447a13e8f97f2cfce648d019a26ee5c87bba.tar.xz
nixlib-c998447a13e8f97f2cfce648d019a26ee5c87bba.tar.zst
nixlib-c998447a13e8f97f2cfce648d019a26ee5c87bba.zip
buildRubyGem: pass the gem version through into the derivation name
-rw-r--r--pkgs/development/interpreters/ruby/build-ruby-gem/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/ruby/build-ruby-gem/default.nix b/pkgs/development/interpreters/ruby/build-ruby-gem/default.nix
index fc9f0656cd98..cc1f85de19d3 100644
--- a/pkgs/development/interpreters/ruby/build-ruby-gem/default.nix
+++ b/pkgs/development/interpreters/ruby/build-ruby-gem/default.nix
@@ -91,7 +91,7 @@ stdenv.mkDerivation (attrs // {
     ++ lib.optional stdenv.isDarwin darwin.libobjc
     ++ buildInputs;
 
-  name = attrs.name or (namePrefix + gemName);
+  name = attrs.name or "${namePrefix}${gemName}-${version}";
 
   inherit src;