[Nix-dev] Creating offline installation image

Arseniy Seroka ars.seroka at gmail.com
Sun Mar 29 00:51:41 CET 2015


Anyway, I still don't know how to do my task :(

2015-03-29 2:46 GMT+03:00 James Cook <james.cook at utoronto.ca>:

> If the versions are not too far apart, then it's possible for only a
> few store hashes to change.
>
> James
>
> On 28 March 2015 at 16:45, Arseniy Seroka <ars.seroka at gmail.com> wrote:
> > I think that if they are different, many things will have different hash.
> > But as I can see, lot's of store's elements were already copied.
> >
> > 2015-03-29 2:37 GMT+03:00 James Cook <jcook at cs.berkeley.edu>:
> >>
> >> 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
> >
> >
> >
> >
> > --
> > Sincerely,
> > Arseniy Seroka
>



-- 
Sincerely,
Arseniy Seroka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150329/9106ba58/attachment-0001.html 


More information about the nix-dev mailing list