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: split nix instantiation and build
The build is split into a two-step process: - nix-instantiate, which is called with -vv and parses its stderr (and produces drv files) - nix-build, which builds the drv file The idea behind this is that we can’t easily write tests which use `nix-build` (nix-in-nix problem), so we are only gonna use the first step for tests (which is enough to check the stderr parsing stuff). Another problem this solves is that the stderr of nix-build is now separated from the stderr of nix-instantiate, and nix-build is not called with -vv, meaning we can show it to the user while it’s generated, making it possible to fix the silence problem lorri has. Closes #126
- Loading branch information
1 parent
9705063
commit c712e01
Showing
4 changed files
with
127 additions
and
73 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
Oops, something went wrong.