3
0
Fork 0
forked from mirrors/nixpkgs

buildRubyGem: pass the gem version through into the derivation name

This commit is contained in:
Nathan Zadoks 2016-02-07 16:40:43 +01:00
parent b4da3bb88b
commit c998447a13

View file

@ -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;