[Nix-dev] Nix OS installation problems - Where's the hard drive?
David Guibert
david.guibert at gmail.com
Sat Oct 11 10:10:54 CEST 2014
Hi,
On Sat, Oct 11, 2014 at 8:20 AM, Joseph Joe <joej at reed.edu> wrote:
> I now would like to create an image file from the configuration.
>
> I issued the command:
> $ export NIX_PATH=$NIXREPOS
check both variables
$ echo $NIX_PATH
/nix/var/nix/profiles/per-user/root/channels/nixos
You could also set it to your working directory of nixpkgs.
> But, the command:
> $ nix-build -A iso_graphical.x86_64-linux $NIXREPOS/nixos/release.nix
Do build an ISO, you could use
$ nix-build "<nixpkgs/nixos/release.nix>" -A iso_graphical.x86_64-linux
"<nixpkgs>" will be substituted by the path of nixpkgs by looking up
inside $NIX_PATH.
--
Regards, David
More information about the nix-dev
mailing list