[Nix-dev] grub and child configurations

Mathijs Kwik mathijs at bluescreen303.nl
Thu May 17 11:22:43 CEST 2012


small additional remark...
disabling grub altogether leads to another problem: no system.build.menuBuilder

So probably a "ignoreEmptyDevices" setting will be best

On Thu, May 17, 2012 at 11:17 AM, Mathijs Kwik <mathijs at bluescreen303.nl> wrote:
> Hi all,
>
> I noticed grub now complains if the device isn't set.
> I'm using the 'nesting.children' option to have 1 system build
> everything for all my machines, then nix-copy-closure the system
> derivations to them. After that, running nixos-rebuild on any of them
> is very fast, as everything is already there.
>
> However, this now produces an error, because nesting forces grub
> devices to undefined.
>
> What would be the best fix for this?
>
> Either nesting options should just fully disable grub for child
> configurations, or we should postpone the assertion till grub-install
> time just for these cases by having some grub.ignoreMissingDevices
> setting.
>
> Does anyone have a preference?
>
> Mathijs


More information about the nix-dev mailing list