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

Daniel Bergey bergey at alum.mit.edu
Tue Dec 16 13:26:39 CET 2014


On 2014-12-16 at 10:37, Eelco Dolstra <eelco.dolstra at logicblox.com> wrote:
> Hi,
>
> On 16/12/14 00:04, Daniel Bergey wrote:
>
>> 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?
>
> Did you use a Nix 1.8 prerelease at some point? You may have a corrupted
> manifest.nix in your profile resulting from a bug fixed in
> https://github.com/NixOS/nix/commit/a17c23426e7b2724639cd90c23759299cdaffbb7. In
> that case, you should roll back your profile to a generation before the corruption.

Thank you both.  I believe I was using a 1.8 prerelease, and that commit
explains my problem.  James's hack also works.

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/20141216/a626d170/attachment.bin 


More information about the nix-dev mailing list