lix/src
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-remote Make the Derived Path family of types inductive for dynamic derivations 2023-08-10 00:08:32 -04:00
libcmd Fixing #7479 2023-08-18 11:44:00 -04:00
libexpr Introduce OutputName and OutputNameView type aliases 2023-08-25 09:55:07 -04:00
libfetchers Don't require .tar/.zip extension for tarball flakerefs 2023-08-01 16:07:20 +02:00
libmain Prevent overriding virtual methods that are called in a destructor 2023-08-11 11:58:33 +02:00
libstore Adapt scheduler to work with dynamic derivations 2023-08-25 10:01:25 -04:00
libutil Merge pull request #8812 from tweag/fix-clang-tidy 2023-08-19 16:00:12 +02:00
nix Fixing #7479 2023-08-18 11:44:00 -04:00
nix-build Make the Derived Path family of types inductive for dynamic derivations 2023-08-10 00:08:32 -04:00
nix-channel Factor out nix-defexpr path computation 2023-08-02 12:54:48 -04:00
nix-collect-garbage Clean up a few things related to profiles (#8526) 2023-06-19 04:04:59 +00:00
nix-copy-closure Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
nix-env Merge pull request #8735 from obsidiansystems/defexpr 2023-08-11 20:32:03 +02:00
nix-instantiate nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-store Simplify ContentAddress 2023-07-07 07:30:01 -04:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00