[Nix-dev] nixpkgs-unstable

Domen Kožar domen at dev.si
Tue Mar 24 21:32:19 CET 2015


use nixos-unstable-small channel if you want to move fast(er). You can't
use nixpkgs channel for nixos.

On Tue, Mar 24, 2015 at 9:30 PM, Arseniy Seroka <ars.seroka at gmail.com>
wrote:

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


More information about the nix-dev mailing list