[Nix-dev] ‘CYCLE’ was not found in the Nix search path

Daniel Bergey bergey at alum.mit.edu
Tue Dec 16 00:04:46 CET 2014


For the last few days, any attempt to install with nix-env gives the
message:

error: file ‘CYCLE’ was not found in the Nix search path (add it using
$NIX_PATH or -I)

Can someone explain to me why this is and how to fix it?

Some more information:
$ nix-env --version
nix-env (Nix) 1.8
$ readlink $(which nix-env)
/nix/store/2v5ck8fgz2m38l9fg6m9d4x0afsydfk6-nix-1.8/bin/nix-env
$ echo $NIX_PATH
/nix/var/nix/profiles/per-user/root/channels/nixos:nixpkgs=/etc/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix
$ uname -a
Linux Chladni 3.14.26 #1-NixOS SMP Thu Jan 1 00:00:01 UTC 1970 x86_64 GNU/Linux

I've tried rolling back my system and my user config.nix, but the error
is the same.  I've found one report of this problem, but no solution:

https://github.com/NixOS/nixpkgs/issues/4515

Thanks,
bergey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141215/97d2a00b/attachment.bin 


More information about the nix-dev mailing list