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

Karn Kallio tierpluspluslists at gmail.com
Wed Mar 9 20:20:40 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

I included the postInstall based on the error message and the postPatch 
instructions ... I did not test without the postInstall since the nixos-
rebuild went ok



More information about the nix-dev mailing list