mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 21:21:00 +01:00
C API: Propagate nix_store_realise build errors
This commit is contained in:
parent
12293a8b11
commit
6fa03765ed
3 changed files with 145 additions and 0 deletions
|
|
@ -186,6 +186,8 @@ nix_err nix_store_real_path(
|
|||
* @param[in] path Path to build
|
||||
* @param[in] userdata data to pass to every callback invocation
|
||||
* @param[in] callback called for every realised output
|
||||
* @return NIX_OK if the build succeeded, or an error code if the build/scheduling/outputs/copying/etc failed.
|
||||
* On error, the callback is never invoked and error information is stored in context.
|
||||
*/
|
||||
nix_err nix_store_realise(
|
||||
nix_c_context * context,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue