Skip to content

parallel eval breaks infinite recursion detection #233

@DADA30000

Description

@DADA30000

Describe the bug

If there is an infinite recursion, determinate nix will just hang, but regular nixcpp will detect infinite recursion

Steps To Reproduce

Add config.system.build.toplevel anywhere to NixOS configuration (like create a writeShellScript that references toplevel)
Try to build it

Expected behavior

It should detect recursion and error out

Metadata

Determinate Nixd daemon version: 3.11.3
Determinate Nixd client version: 3.11.3

nix (Determinate Nix 3.11.3) 2.31.2

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions