mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 09:49:36 +01:00
Factor out checkOutputs
We currently just use this during the build of a derivation, but there is no reason we wouldn't want to use it elsewhere, e.g. to check the outputs of someone else's build after the fact. Moreover, I like pulling things out of `DerivationBuilder` that are simple and don't need access to all that state. While `DerivationBuilder` is unix-only, this refactor also make the code more portable "for free". The header is private, at Eelco's request.
This commit is contained in:
parent
6c8f5ef9f7
commit
d1bdaef04e
4 changed files with 182 additions and 151 deletions
|
|
@ -265,6 +265,7 @@ sources = files(
|
|||
'binary-cache-store.cc',
|
||||
'build-result.cc',
|
||||
'build/derivation-building-goal.cc',
|
||||
'build/derivation-check.cc',
|
||||
'build/derivation-goal.cc',
|
||||
'build/derivation-trampoline-goal.cc',
|
||||
'build/drv-output-substitution-goal.cc',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue