buildRubyGem: only use major minor in name (#229469)
This is similar to what pythonXxxPackages does and reduces the noise `nix store diff-closure`
This commit is contained in:
@@ -34,7 +34,7 @@ lib.makeOverridable (
|
||||
, stdenv ? ruby.stdenv
|
||||
, namePrefix ? (let
|
||||
rubyName = builtins.parseDrvName ruby.name;
|
||||
in "${rubyName.name}${rubyName.version}-")
|
||||
in "${rubyName.name}${lib.versions.majorMinor rubyName.version}-")
|
||||
, nativeBuildInputs ? []
|
||||
, buildInputs ? []
|
||||
, meta ? {}
|
||||
|
||||
Reference in New Issue
Block a user