Help to install vim (and others) in NixOS
#1
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 Sad ), 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]#
Has anybody an idea how to fix this error?


Possibly Related Threads…
Thread Author Replies Views Last Post
  NixOS image availablee vfr400racer 5 7,598 03-11-2021, 07:20 PM
Last Post: JuanEsf

Forum Jump:


Users browsing this thread: 1 Guest(s)