lix-releng-staging/tests/dyn-drv
John Ericson 5e3986f59c Adapt scheduler to work with dynamic derivations
To avoid dealing with an optional `drvPath` (because we might not know
it yet) everywhere, make an `CreateDerivationAndRealiseGoal`. This goal
just builds/substitutes the derivation file, and then kicks of a build
for that obtained derivation; in other words it does the chaining of
goals when the drv file is missing (as can already be the case) or
computed (new case).

This also means the `getDerivation` state can be removed from
`DerivationGoal`, which makes the `BasicDerivation` / in memory case and
`Derivation` / drv file file case closer together.

The map type is factored out for clarity, and because we will soon hvae
a second use for it (`Derivation` itself).

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-08-25 10:01:25 -04:00
..
build-built-drv.sh Adapt scheduler to work with dynamic derivations 2023-08-25 10:01:25 -04:00
common.sh Make tests/dyn-drv test dir 2023-04-19 18:49:50 -04:00
config.nix.in Make tests/dyn-drv test dir 2023-04-19 18:49:50 -04:00
dep-built-drv.sh Create outputOf primop. 2023-08-14 09:37:37 -04:00
eval-outputOf.sh Create outputOf primop. 2023-08-14 09:37:37 -04:00
local.mk Create outputOf primop. 2023-08-14 09:37:37 -04:00
recursive-mod-json.nix Rename a few things in new tests 2023-05-08 08:01:58 -04:00
recursive-mod-json.sh Create outputOf primop. 2023-08-14 09:37:37 -04:00
text-hashed-output.nix Create outputOf primop. 2023-08-14 09:37:37 -04:00
text-hashed-output.sh Rename a few things in new tests 2023-05-08 08:01:58 -04:00