1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 13:51:16 +02:00
nix/tests/functional/dyn-drv
John Ericson 57348b677b Restore dynamic derivations!
This method does *not* create a new type of goal. We instead just make
`DerivationGoal` more sophisticated, which is much easier to do now that
`DerivationBuildingGoal` has been split from it (and so many fields are
gone, or or local variables instead).

This avoids the need for a secondarily trampoline goal that interacted
poorly with `addWantedOutputs`. That, I hope, will mean the bugs from
before do not reappear.

There may in fact be a reason to introduce such a trampoline in the
future, but it would only happen in conjunction with getting rid of
`addWantedOutputs`.

Restores the functionality (and tests) that was reverted in
f4f28cdd0e.
2025-05-21 17:31:41 -04:00
..
build-built-drv.sh Restore dynamic derivations! 2025-05-21 17:31:41 -04:00
common.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
config.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
config.nix.in Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
dep-built-drv-2.sh Restore dynamic derivations! 2025-05-21 17:31:41 -04:00
dep-built-drv.sh Restore dynamic derivations! 2025-05-21 17:31:41 -04:00
eval-outputOf.sh Print value on type error 2024-01-22 08:56:02 -08:00
failing-outer.sh Restore dynamic derivations! 2025-05-21 17:31:41 -04:00
meson.build More interesting dynamic derivations example 2025-02-16 18:00:34 -05:00
non-trivial.nix More interesting dynamic derivations example 2025-02-16 18:00:34 -05:00
old-daemon-error-hack.nix Rename to "content-address*ing* derivation" 2025-02-10 01:12:56 -05:00
old-daemon-error-hack.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
recursive-mod-json.nix Format .nix files 2025-01-24 17:04:02 +01:00
recursive-mod-json.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
text-hashed-output.nix Merge pull request #9415 from NixOS/fix-dynamic-derivations 2025-02-16 23:59:39 +01:00
text-hashed-output.sh housekeeping: shellcheck for tests/functional/dyn-drv/text-hashed-output.sh 2024-06-12 17:41:16 -04:00