Issue: unable to use nix-shell after rebuild switch from unstable nixos. I do not know if this is an issue; however, wanted to report it just in case.
Details:
using incus to create a new NixOS unstable instance (incus launch images:nixos/unstable nixos-niv-01 -c security.nesting=true)
connect via root and execute the commands on this repo's readme (copying the existing /etc/nixos/ artifacts)
after build, nix-shell -p git results in the following error.
[root@nixos:~]# nix-shell -p git
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:
/ borked
at «none»:0: (source not available)
/ while calling the 'import' builtin
at «string»:1:18:
1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (git) ]; } ""
| ^
(stack trace truncated; use '--show-trace' to show the full trace)
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
::end error
The same process works as expected on 23.11 instance.
Issue: unable to use nix-shell after rebuild switch from unstable nixos. I do not know if this is an issue; however, wanted to report it just in case.
Details:
[root@nixos:~]# nix-shell -p git 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: / borked
::end error
The same process works as expected on 23.11 instance.