[Nix#9779] Nix 2.3 and Nix 2.18 differ in laziness for certain builtins (e.g. map, replaceStrings, genList) #67

Open
opened 2024-03-16 06:44:44 +00:00 by lix-bot · 0 comments
Member
Upstream-Issue: https://git.lix.systems/NixOS/nix/issues/9779 With those three tests: - https://cl.tvl.fyi/c/depot/+/10621/3/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-gen-list-propagate-catchable.nix - https://cl.tvl.fyi/c/depot/+/10621/3/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-concat-map-propagate-catchable.nix - https://cl.tvl.fyi/c/depot/+/10621/3/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-replace-strings-propagate-catchable.nix Nix 2.3 and Nix 2.18 diverges on the expected output. Discussed in https://matrix.to/#/!VRULIdgoKmKPzJZzjj:nixos.org/$dpGJbnfqhSiWhGwD1FwoVHU5Gpi_Hr8JJL51r_OVR7g?via=nixos.org&via=matrix.org&via=nixos.dev Clarifying that would be helpful to understand the level of laziness / strictness we should expect from certain builtins such as those. **Additional context** Related: https://github.com/NixOS/nix/commit/ca7c5e08c10d3ebd5a491a52c76f29b1dc102375#diff-0f59bb6f197822ef9f19ceae9624989499d170c84dfdc1f486a8959bb4588cafR3048-R3050 (one of the introducing commit?) cc @roberth @thufschmitt @flokli @sternenseemann **Priorities** Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
lix-bot added the
bug
imported
labels 2024-03-16 06:44:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#67
No description provided.