clean nixide_api
This commit is contained in:
parent
db418c2411
commit
89bcc2dcff
2 changed files with 1 additions and 9 deletions
|
|
@ -1,17 +1,8 @@
|
||||||
// #include <string>
|
|
||||||
|
|
||||||
// #include <nix_api_flake.h>
|
|
||||||
#include <nix_api_flake_internal.hh>
|
#include <nix_api_flake_internal.hh>
|
||||||
// #include <nix_api_util.h>
|
|
||||||
#include <nix_api_util_internal.h>
|
#include <nix_api_util_internal.h>
|
||||||
// #include <nix_api_expr_internal.h>
|
|
||||||
// #include <nix_api_fetchers_internal.hh>
|
|
||||||
// #include <nix_api_fetchers.h>
|
|
||||||
|
|
||||||
#include "nix/flake/flake.hh"
|
#include "nix/flake/flake.hh"
|
||||||
|
|
||||||
// #include "nixide_api_flake.h"
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
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_recreate_lock_file(nix_c_context * context, nix_flake_lock_flags * flags, bool value)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ extern "C" {
|
||||||
|
|
||||||
nix_err nix_register_plugin(nix_c_context * context, char * plugin)
|
nix_err nix_register_plugin(nix_c_context * context, char * plugin)
|
||||||
{
|
{
|
||||||
|
// DEBUG: TODO
|
||||||
if (context)
|
if (context)
|
||||||
context->last_err_code = NIX_OK;
|
context->last_err_code = NIX_OK;
|
||||||
if (plugin == nullptr) {
|
if (plugin == nullptr) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue