[Nix-dev] Creating offline installation image

James Cook james.cook at utoronto.ca
Sun Mar 29 00:39:02 CET 2015


On 28 March 2015 at 13:47, Arseniy Seroka <ars.seroka at gmail.com> wrote:
> My installation-cd-minimal.nix [1]
>
> What I do:
>
> Running qemu with generated image
> Checking that I can run vlc, teamviewer, dropbox, openbox etc (also Xserver
> is running)
> Making partition on hard drive
> Mounting to /mnt
> Editing /mnt/etc/nixos/configuration.nix to [2]
> Running nixos-install
>
> What I'm getting [3]
>
> Adding to installation-cd-minimal.nix
>    xlibs.xf86videovmware
>    xlibs.xf86videovesa
>    xlibs.xf86videointel
>    xlibs.xf86videoati
> doesn't affect installation.
>
> Ideas? :-(
>
> [1] https://gist.github.com/jagajaga/b41475f097b0e0b58865
> [2] https://gist.github.com/jagajaga/b91cb0deb04042dbd40f
> [3] https://gist.github.com/jagajaga/2a78535bdb9bb6c53b2a

Could the nixpkgs version used to generate the installation image be
different from the nixpkgs version used by nixos-install?  I don't
know how the second one is determined; I guess it gets copied from
somewhere when you generate the image.

James


More information about the nix-dev mailing list