Merge pull request #248886 from trofi/grub2-nonparallel-translations

grub2: workaround parallel build failure by building .po files sequentially

authored by Samuel Dionne-Riel and committed by GitHub 890ef80b 779acf8f

+7
+7
pkgs/tools/misc/grub/default.nix
··· 149 substituteInPlace ./configure --replace '/usr/share/fonts/unifont' '${unifont}/share/fonts' 150 ''; 151 152 configureFlags = [ 153 "--enable-grub-mount" # dep of os-prober 154 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
··· 149 substituteInPlace ./configure --replace '/usr/share/fonts/unifont' '${unifont}/share/fonts' 150 ''; 151 152 + postConfigure = '' 153 + # make sure .po files are up to date to workaround 154 + # parallel `msgmerge --update` on autogenerated .po files: 155 + # https://github.com/NixOS/nixpkgs/pull/248747#issuecomment-1676301670 156 + make dist 157 + ''; 158 + 159 configureFlags = [ 160 "--enable-grub-mount" # dep of os-prober 161 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [