1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 05:00:58 +01:00
nix/src/libstore-tests/data/derivation
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
..
ca Parse deriving paths in DerivationOptions 2025-11-19 15:48:10 -05:00
ia Parse deriving paths in DerivationOptions 2025-11-19 15:48:10 -05:00
invariants Dedup some derivation initialization logic, and test 2025-11-20 00:49:48 -05:00
bad-old-version-dyn-deps.drv Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
bad-version.drv Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
dyn-dep-derivation.drv Minimize the use of C Macros for characterization tests 2025-09-28 09:54:46 -04:00
dyn-dep-derivation.json Change JSON derivation format in two ways 2025-11-06 15:19:44 -05:00
firefox.drv libstore-tests: Obfuscate derivation paths in drv files for benchmarks 2025-08-17 16:57:04 +03:00
hello.drv libstore-tests: Obfuscate derivation paths in drv files for benchmarks 2025-08-17 16:57:04 +03:00
output-caFixedFlat.json Change JSON derivation format in two ways 2025-11-06 15:19:44 -05:00
output-caFixedNAR.json Change JSON derivation format in two ways 2025-11-06 15:19:44 -05:00
output-caFixedText.json Change JSON derivation format in two ways 2025-11-06 15:19:44 -05:00
output-caFloating.json Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
output-deferred.json Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
output-impure.json Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
output-inputAddressed.json Make the JSON format for derivation use basename store paths 2025-09-17 16:38:17 -04:00
simple-derivation.drv Minimize the use of C Macros for characterization tests 2025-09-28 09:54:46 -04:00
simple-derivation.json Change JSON derivation format in two ways 2025-11-06 15:19:44 -05:00