1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-29 05:31:00 +01:00
nix/src/libstore-tests/data/derivation/invariants
John Ericson 620a6947ab Dedup some derivation initialization logic, and test
`nix derivation add`, and its C API counterpart, now works a bit closer
to `builtins.derivation` in that they don't require the user to fill-in
input addressed paths correctly ahead of time.

The logic for this is carefully deduplicated, between all 3 entry
points, and also between the existing `checkInvariants` function. There
are some more functional tests, and there are also many more unit tests.

Co-authored-by: Sergei Zimmerman <sergei@zimmerman.foo>
Co-authored-by: edef <edef@edef.eu>
2025-11-20 00:49:48 -05:00
..
bad-depends-on-drv-pre.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
bad-env-var.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
bad-path.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
depends-on-drv-pre.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
filled-in-deferred-empty-env-var-post.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
filled-in-deferred-empty-env-var-pre.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
filled-in-deferred-no-env-var-post.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
filled-in-deferred-no-env-var-pre.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
filled-in-idempotent.json Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00