lix/src
John Ericson 68f4c728ec Split {,local-}derivation-goal.{cc,hh}
This separates the scheduling logic (including simple hook pathway) from
the local-store needing code.

This should be the final split for now. I'm reasonably happy with how
it's turning out, even before I'm done moving code into
`local-derivation-goal`. Benefits:

1. This will help "witness" that the hook case is indeed a lot simpler,
   and also compensate for the increased complexity that comes from
   content-addressed derivation outputs.

2. It also moves us ever so slightly towards a world where we could use
   off-the-shelf storage or sandboxing, since `local-derivation-goal`
   would be gutted in those cases, but `derivation-goal` should remain
   nearly the same.

The new `#if 0` in the new files will be deleted in the following
commit. I keep it here so if it turns out more stuff can be moved over,
it's easy to do so in a way that preserves ordering --- and thus
prevents conflicts.

N.B.
```sh
git diff HEAD^^ --color-moved --find-copies-harder --patience --stat
```
makes nicer output.
2021-02-26 16:10:26 +00:00
..
build-remote Merge pull request #4477 from NixOS/ca/build-remote 2021-02-26 16:54:44 +01:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd Merge pull request #4541 from obsidiansystems/simpler-store-path-command 2021-02-19 16:18:53 +01:00
libexpr Make missing auto-call arguments throw an eval error 2021-02-22 16:13:09 +01:00
libfetchers Add traces to errors while updating flake lock file 2021-01-27 14:02:54 +01:00
libmain Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
libstore Split {,local-}derivation-goal.{cc,hh} 2021-02-26 16:10:26 +00:00
libutil nix flake update: Recreate the lock file 2021-02-26 14:55:54 +01:00
nix nix flake update: Recreate the lock file 2021-02-26 14:55:54 +01:00
nix-build Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-channel Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-collect-garbage Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-copy-closure Use RealisedPaths in copyPaths 2021-02-25 17:18:48 +01:00
nix-env Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-instantiate Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-store Merge pull request #4477 from NixOS/ca/build-remote 2021-02-26 16:54:44 +01:00
resolve-system-dependencies Fix macOS build 2021-01-21 12:46:22 +01:00