building Nix...
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
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)
/tmp/nixos-rebuild.LlCOoq/nix
building the system configuration...
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
sudo nix-channel --list
home-manager https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz
nixos https://nixos.org/channels/nixos-22.05
nixpkgs https://nixos.org/channels/nixos-22.05
nix-info -m
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «string»:1:9:
1| (import <nixpkgs> {}).stdenv.hostPlatform.system
| ^
(use '--show-trace' to show detailed location information)
- system: `0`
- host os: `Linux 5.15.79, NixOS, 22.05 (Quokka), 22.05.4321.f10cdcf31dd`
- multi-user?: `no`
- sandbox: `yes`
- version: `nix-env (Nix) 2.8.1`
- channels(root): `"home-manager-22.05.tar.gz, nixos-22.05, nixpkgs-22.05"`
- channels(ae): `""`
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «string»:1:1:
1| <nixpkgs>
| ^
- nixpkgs: `0`
nixos-rebuild build --show-trace
building Nix...
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
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)
/tmp/nixos-rebuild.L3KBuK/nix
building the system configuration...
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
What wrong after rebuild?