[Nix-dev] Merry X-mas to Nix!
Marc Weber
marco-oweber at gmx.de
Tue Dec 30 19:20:56 CET 2008
On Tue, Dec 30, 2008 at 06:41:17PM +0100, Pjotr Prins wrote:
> Someone who tried Nix from the Linux.com article:
>
> I downloaded and run nixos iso in VirtualBox.. After running nix-env -qa firefox, I get an error saying:
>
> error: while evaluating the attribute 'config' at '/etc/nixos/nixos/system/system.nix', line 18
> while evaluating the function at '/etc/nixos/nixpkgs/pkgs/lib/default.nix', line 448:
> ..
> ..
> getting status of '/etc/nixos/configuration.nix': No such file or directory
?? Wow.
I guess you know what /etc/nixos/configuration.nix is about?
It does contain the configuration of the system.
I've never tried running nix-env -i from the booted cd so I don't know
wether it's even supported?
The default way to install nixos is mounting the target partition on
/mnt and create configuration.nix on the mount point
(/mnt/nixos/configuration.nix).
But this is all described here
http://nixos.org/releases/nixos/unstable/manual/ (Or on ctrl alt F10 or so).
Have I missed the point completely?
Marc Weber
More information about the nix-dev
mailing list