10-26-2020, 08:56 AM
Hi All!
There is a NixOS image available for the pinecube. Coming across NixOS for the first time. I tried to install vim the way it is recommended e.g. here:
https://www.mpscholten.de/nixos/2016/04/...nixos.html
But when I try to switch to the new environment (hopefully this is what I am trying to do on NixOS ), I get these
Has anybody an idea how to fix this error?
There is a NixOS image available for the pinecube. Coming across NixOS for the first time. I tried to install vim the way it is recommended e.g. here:
https://www.mpscholten.de/nixos/2016/04/...nixos.html
But when I try to switch to the new environment (hopefully this is what I am trying to do on NixOS ), I get these
Code:
[root@nixos:/etc/nixos]# nixos-rebuild switch
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoring
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
building Nix...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoring
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoring
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoring
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: file 'nixpkgs/nixos/modules/installer/tools/nix-fallback-paths.nix' was not found in the Nix search path (add it using $NIX_PATH or -I)
[root@nixos:/etc/nixos]#