glibcLocales: enable parallel building

This commit is contained in:
Sergei Trofimovich 2023-06-20 08:47:30 +01:00
parent cc5c495706
commit 4d4f5e2db1

View file

@ -60,11 +60,11 @@
echo SUPPORTED-LOCALES='${toString locales}' > ../glibc-2*/localedata/SUPPORTED
'';
enableParallelBuilding = true;
makeFlags = (previousAttrs.makeFlags or []) ++ [
"localedata/install-locales"
"localedir=${builtins.placeholder "out"}/lib/locale"
] ++ lib.optionals finalAttrs.finalPackage.enableParallelInstalling [
"PARALLELMFLAGS=-j$(NIX_BUILD_CORES)"
];
installPhase =