[Nix-dev] nixpkgs-unstable
Arseniy Seroka
ars.seroka at gmail.com
Tue Mar 24 21:33:40 CET 2015
Using nixos-unstable-small I have to build locally lots of pkgs :(
But can I "mix" nixpkgs-unstable and nixos-unstable? Using the first one
for nix-env and the second one for sudo nixos-rebuild?
2015-03-24 23:32 GMT+03:00 Domen Kožar <domen at dev.si>:
> 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
>>
>>
>
--
Sincerely,
Arseniy Seroka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150324/dce9f1d6/attachment.html
More information about the nix-dev
mailing list