mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
* nix-instantiate: return exit status 100 to denote a permanent build
failure. The build hook can use this to distinguish between transient and permanent failures on the remote side.
This commit is contained in:
parent
5833243c92
commit
d787285af9
5 changed files with 29 additions and 14 deletions
|
@ -20,7 +20,8 @@ extern char * * environ;
|
|||
namespace nix {
|
||||
|
||||
|
||||
BaseError::BaseError(const format & f)
|
||||
BaseError::BaseError(const format & f, unsigned int status)
|
||||
: status(status)
|
||||
{
|
||||
err = f.str();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue