Skip to content

cd devos; nix-shell = error: infinite recursion encountered #394

@milahu

Description

@milahu

Reproduce

git clone https://github.com/divnix/devos.git --depth 1
cd devos
nix-shell

Actual

error: infinite recursion encountered

       at /nix/store/0r0xrqj5l88071cama7hlha5ajya06c8-source/lib/modules.nix:525:9:

          524|     in warnDeprecation opt //
          525|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          526|         inherit (res.defsFinal') highestPrio;
(use '--show-trace' to show detailed location information)

meme jackie chan what why 200x200

Possible Solution

rollback to a088edd via

git clone https://github.com/divnix/devos.git --depth 1
cd devos
git pull --depth 100
git checkout main
while true
do
  git checkout HEAD~1 && nix-shell && break
done

the error: infinite recursion encountered first appears with dcb4253

git rev-list --count main ^a088edd
61

Your Environment

nix --version 
nix (Nix) 2.5pre20211007_844dd90

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions