Merge pull request #248886 from trofi/grub2-nonparallel-translations
grub2: workaround parallel build failure by building .po files sequentially
This commit is contained in:
commit
890ef80b26
|
@ -149,6 +149,13 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace ./configure --replace '/usr/share/fonts/unifont' '${unifont}/share/fonts'
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
# make sure .po files are up to date to workaround
|
||||
# parallel `msgmerge --update` on autogenerated .po files:
|
||||
# https://github.com/NixOS/nixpkgs/pull/248747#issuecomment-1676301670
|
||||
make dist
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--enable-grub-mount" # dep of os-prober
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
|
|
Loading…
Reference in a new issue