[Nix-dev] Question about chroot & nixos-install

Kosyrev Serge _deepfire at feelingofgreen.ru
Fri Apr 8 17:01:31 CEST 2016


Sander <nixos at humilis.net> writes:
> Peter Simons wrote (ao):
>>  > I think installing NixOS into a mountpoint from another OS (where
>>  > just nixpkgs available) is a common situation. Anyone to present a
>>  > workable procedure?
>> 
>> https://nixos.org/wiki/How_to_install_NixOS_from_Linux describes how
>> to do that using a Live-CD ISO.
>
> For some values of workable. When I first stumbled on these instructions
> I was kinda surprised. I appreciate NixOS is not for Aunt Tilly, but
> fiddle with mounting ISO images and unpacking squashfs' just to
> install a Linux OS anno 2016?
>
> I guess I'm spoiled by Debian's [1]multistrap, which installs Debian in
> a directory in 30 seconds by just running 'multistrap -f newos.conf'

A key detail in the multistrap's story, is that it allows to use a
configurable set of package sources.

Essentially, this is what original poster's question was -- he faced trouble,
while trying to install NixOS defined by non-default nixpkgs.

-- 
с уважениeм / respectfully,
Косырев Сергей


More information about the nix-dev mailing list