[Nix-dev] nixos-rebuild fails on updating GRUB 2 menu

Shea Levy shea at shealevy.com
Wed Mar 9 20:12:47 CET 2011


On 3/9/11 2:04 PM, Karn Kallio wrote:
> Hello,
>
> The new grub2 expression caused nixos-rebuild to fail with the error
> updating GRUB 2 menu...
> cp: cannot stat `/nix/store/mhh92zbvhd6jrf09phqis1c4kp1ji89n-
> grub-1.99rc1/share/grub/unicode.pf2': No such file or directory
>
>
> SVN commit r26239 is a quick patch to the GRUB expression to make nixos-
> rebuild work again; but perhaps a GRUB expert could look this over.
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Hi Karn,

What does the postInstall you added do? I changed postPatch to prePatch 
on my local copy without the postInstall and $out/share/grub/unicode.pf2 
was there.

Cheers,
Shea Levy



More information about the nix-dev mailing list