[Nix-dev] NixOS rebuild error: can't install grub
James Cook
james.cook at utoronto.ca
Mon Mar 17 06:41:28 CET 2014
On 16 March 2014 18:43, Anderson Torres <torres.anderson.85 at gmail.com> wrote:
> Hello!
>
> I am with a problem here: NixOS refuses to update the system with a GRUB
> error:
>
>
> root at janis-nixos ~ # nixos-rebuild switch
>
> building Nix...
> building the system configuration...
> updating GRUB 2 menu...
> Use of uninitialized value $_[0] in substitution (s///) at
> /nix/store/z1krxp2hwph8fypchf2b0ssnyp6z8k9l-perl-5.16.3/lib/perl5/5.16.3/File/Basename.pm
> line 341.
> fileparse(): need a valid pathname at
> /nix/store/g0hwyp1ip5q399hppgb8mzpxfy6fhq7f-install-grub.pl line 213.
>
> Can someone help me?
I don't have any ideas, but can you post a minimal configuration.nix
that reproduces the problem, and which revision of nixpkgs you're at
(or when you last ran nix-changel --update)?
James
More information about the nix-dev
mailing list