Hello!
Trying to use nixpkgs-unstable as main channel.
jaga {0} ~ sudo nix-channel --add http://nixos.org/channels/nixpkgs-unstable
nixos
jaga {0} ~ sudo nixos-rebuild switch --upgrade
downloading Nix expressions from ‘
http://nixos.org/releases/nixpkgs/nixpkgs-15.05pre59184.e07ea5c/nixexprs.tar.xz
’...
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
unpacking channels...
error: file ‘nixpkgs/nixos/modules/installer/tools/nixos-rebuild.sh’ was
not found in the Nix search path (add it using $NIX_PATH or -I)
building Nix...
error: file ‘nixpkgs/nixos’ was not found in the Nix search path (add it
using $NIX_PATH or -I)
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)
/tmp/nixos-rebuild.GAS7Lk/nix
error: file ‘nixpkgs’ was not found in the Nix search path (add it using
$NIX_PATH or -I)
building the system configuration...
error: file ‘nixpkgs/nixos’ was not found in the Nix search path (add it
using $NIX_PATH or -I)
^C
error: interrupted by the user
jaga {130} ~ echo $NIX_PATH
nixos=/nix/var/nix/profiles/per-user/root/channels/nixos/nixos:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix
jaga {0} ~ ls /nix/var/nix/profiles/per-user/root/channels/nixos/
channel-name default.nix lib/ nixos/ README.md
COPYING doc/ maintainers/ pkgs/ svn-revision
So I can't do nixos-rebuild. But nix-env works fine.
What I'm doing wrong?
--
Sincerely,
Arseniy Seroka
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev