[Nix-dev] nixos-install

Marco Maggesi maggesi at math.unifi.it
Thu May 10 11:54:02 CEST 2012


Hi,

I'm trying to build a xen guest image with nixos.
The command
  nixos-install
fails with the following message
  error: selector `nixos' matches no derivations

The source of the problem is the following command found in the script
nixos-install
  srcs=$(nix-env -p /nix/var/nix/profiles/per-user/root/channels -q
nixos --no-name --out-path)

The directory
  /nix/var/nix/profiles/per-user/root
is empty on my system.

What is wrong?

Thank you for your help,
Marco


More information about the nix-dev mailing list