C API: rename nix_store_build -> nix_store_realise

This commit is contained in:
José Luis Lafuente 2024-02-27 18:09:38 +01:00 committed by José Luis Lafuente
parent 1093ab64a2
commit 34d15e8f2f
No known key found for this signature in database
GPG Key ID: 8A3455EBE455489A
3 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ StorePath * nix_store_parse_path(nix_c_context * context, Store * store, const c
NIXC_CATCH_ERRS_NULL
}
nix_err nix_store_build(
nix_err nix_store_realise(
nix_c_context * context,
Store * store,
StorePath * path,

View File

@ -118,7 +118,7 @@ bool nix_store_is_valid_path(nix_c_context * context, Store * store, StorePath *
* @param[in] userdata data to pass to every callback invocation
* @param[in] callback called for every realised output
*/
nix_err nix_store_build(
nix_err nix_store_realise(
nix_c_context * context,
Store * store,
StorePath * path,

View File

@ -85,7 +85,7 @@ TEST_F(nix_api_expr_test, nix_build_drv)
StorePath * outStorePath = nix_store_parse_path(ctx, store, outPath);
ASSERT_EQ(false, nix_store_is_valid_path(nullptr, store, outStorePath));
nix_store_build(ctx, store, drvStorePath, nullptr, nullptr);
nix_store_realise(ctx, store, drvStorePath, nullptr, nullptr);
// TODO figure out why fails.
// `make libexpr-tests_RUN` works, but `nix build .` fails