[Nix-dev] nixpkgs-unstable

Arseniy Seroka ars.seroka at gmail.com
Tue Mar 24 21:30:16 CET 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150324/bee7c555/attachment-0001.html 


More information about the nix-dev mailing list