Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ruby/package-fn.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ let
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
NROFF = if docSupport then "${groff}/bin/nroff" else null;

LANG =
if docSupport && (with versionComparison version; hasPrefix "4.0") then
"C.UTF-8"
else
null;

nativeBuildInputs = [
bison
] ++ ops (stdenv.buildPlatform != stdenv.hostPlatform) [ buildPackages.ruby ];
Expand Down
14 changes: 9 additions & 5 deletions ruby/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -987,14 +987,18 @@
"4.0.3": {
"url": "https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.3.tar.gz",
"sha256": "77964acc370d5c8375b9502e5ba6c13c03ef91ab9eb9f521c84fb42b9c9a6b0f"
},
"4.0.4": {
"url": "https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.4.tar.gz",
"sha256": "f35f6edfa3dabb3f723f9d0cf1906c6512ae77f4e412ab1e68cc6e91d230fa80"
}
},
"aliases": {
"2": "2.7.8",
"3": "3.4.9",
"4": "4.0.3",
"latest": "4.0.3",
"4.0": "4.0.3",
"4": "4.0.4",
"latest": "4.0.4",
"4.0": "4.0.4",
"3.4": "3.4.9",
"3.3": "3.3.10",
"3.2": "3.2.10",
Expand All @@ -1009,8 +1013,8 @@
"2.1": "2.1.10",
"2.*": "2.7.8",
"3.*": "3.4.9",
"4.*": "4.0.3",
"4.0.*": "4.0.3",
"4.*": "4.0.4",
"4.0.*": "4.0.4",
"3.4.*": "3.4.9",
"3.3.*": "3.3.10",
"3.2.*": "3.2.10",
Expand Down