This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builder/BuildResults: restrict
named_drvs
to just two fields
The nix code in `./src/logged_evaluation.nix` only ever prints two derivations, but `named_drvs` was generalized to a HashMap which supports any amount of derivations. We are better off with a struct in this case, because we can fail early if we don’t find one of the expected derivations in the nix output (or find one more than once). It also acts as documentation of what exactly we expect from the output of `logged_evaluation.nix`.
- Loading branch information
1 parent
ab0087e
commit 252d0e7
Showing
3 changed files
with
113 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters