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:
Sandro
2024-01-15 09:21:47 +01:00
committed by GitHub
parent c35c3077e9
commit ffe149b1c4
@@ -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 ? {}