Skip to content
Merged
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