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

Karn Kallio tierpluspluslists at gmail.com
Wed Mar 9 20:51:56 CET 2011


> > > 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

Hello Shea,

The postInstall has been removed ( as you point out, it was unnecessary and 
did not even do anything ).

Thanks for the review!



More information about the nix-dev mailing list