[Nix-dev] nix-channel says: unexpected UPDATE, at `(string):1:177'

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Dec 20 21:32:32 CET 2013


Hi,

On 20/12/13 19:00, Peter Simons wrote:

> does anyone know how to fix this error?
> 
>  | $ nix-channel --update
>  | downloading Nix expressions from `http://nixos.org/channels/nixos-unstable/nixexprs.tar.xz'...

I'm guessing you have an old channel URL in ~/.nix-channels, like

 http://nixos.org/releases/nixos/channels/nixos-unstable

Please change it to

 http://nixos.org/channels/nixos-unstable

The old URL no longer works because nix-channel gets confused following multiple
redirections.  The new redirection is necessary because the releases are now on
a separate (CloudFront) domain.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list