Merge #246049: glibcLocales: disable parallelism

..to restore deterministic locales; Merge into staging
This commit is contained in:
Vladimír Čunát 2023-08-11 10:23:32 +02:00
commit 5b033f3a00
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -59,7 +59,11 @@
echo SUPPORTED-LOCALES='${toString locales}' > ../glibc-2*/localedata/SUPPORTED
'';
enableParallelBuilding = true;
# Current `nixpkgs` way of building locales is not compatible with
# parallel install. `locale-archive` is updated in parallel with
# multiple `localedef` processes and causes non-deterministic result:
# https://github.com/NixOS/nixpkgs/issues/245360
enableParallelBuilding = false;
makeFlags = (previousAttrs.makeFlags or []) ++ [
"localedata/install-locales"