mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
C API: rename nix_store_build -> nix_store_realise
This commit is contained in:
parent
1093ab64a2
commit
34d15e8f2f
3 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue