add custom flake+fetchers api
This commit is contained in:
parent
544371e861
commit
0a4cfcce7d
4 changed files with 323 additions and 0 deletions
47
nixide-sys/libnixide-c/nixide_api_flake.h
Normal file
47
nixide-sys/libnixide-c/nixide_api_flake.h
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
#ifndef NIXIDE_API_FLAKE_H
|
||||
#define NIXIDE_API_FLAKE_H
|
||||
|
||||
#include "nix_api_flake.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
nix_err nix_flake_lock_flags_set_recreate_lock_file(nix_c_context * context, nix_flake_lock_flags * flags, bool value);
|
||||
|
||||
nix_err nix_flake_lock_flags_set_update_lock_file(nix_c_context * context, nix_flake_lock_flags * flags, bool value);
|
||||
|
||||
nix_err nix_flake_lock_flags_set_write_lock_file(nix_c_context * context, nix_flake_lock_flags * flags, bool value);
|
||||
|
||||
nix_err nix_flake_lock_flags_set_fail_on_unlocked(nix_c_context * context, nix_flake_lock_flags * flags, bool value);
|
||||
|
||||
nix_err nix_flake_lock_flags_set_use_registries(nix_c_context * context, nix_flake_lock_flags * flags, bool value);
|
||||
|
||||
nix_err nix_flake_lock_flags_set_apply_nix_config(nix_c_context * context, nix_flake_lock_flags * flags, bool value);
|
||||
|
||||
nix_err nix_flake_lock_flags_set_allow_unlocked(nix_c_context * context, nix_flake_lock_flags * flags, bool value);
|
||||
|
||||
nix_err nix_flake_lock_flags_set_commit_lock_file(nix_c_context * context, nix_flake_lock_flags * flags, bool value);
|
||||
|
||||
nix_err
|
||||
nix_flake_lock_flags_set_reference_lock_file_path(nix_c_context * context, nix_flake_lock_flags * flags, char * path);
|
||||
|
||||
nix_err
|
||||
nix_flake_lock_flags_set_output_lock_file_path(nix_c_context * context, nix_flake_lock_flags * flags, char * path);
|
||||
|
||||
nix_err
|
||||
nix_flake_lock_flags_add_input_update(nix_c_context * context, nix_flake_lock_flags * flags, const char * inputPath);
|
||||
|
||||
/* nix_flake_settings */
|
||||
nix_err nix_flake_settings_set_use_registries(nix_c_context * context, nix_flake_settings * settings, bool value);
|
||||
|
||||
nix_err nix_flake_settings_set_accept_flake_config(nix_c_context * context, nix_flake_settings * settings, bool value);
|
||||
|
||||
nix_err
|
||||
nix_flake_settings_set_commit_lock_file_summary(nix_c_context * context, nix_flake_settings * settings, char * summary);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // NIXIDE_API_FLAKE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue