Nix 2.26.3
Nix, the purely functional package manager: C API (experimental)
 
Loading...
Searching...
No Matches
libflake

Bindings to the Nix Flakes library. More...

Files

file  nix_api_flake.h
 Main entry for the libflake C bindings.
 

Typedefs

typedef struct nix_flake_settings nix_flake_settings
 

Functions

nix_flake_settings * nix_flake_settings_new (nix_c_context *context)
 
void nix_flake_settings_free (nix_flake_settings *settings)
 Release the resources associated with a nix_flake_settings.
 
nix_err nix_flake_init_global (nix_c_context *context, nix_flake_settings *settings)
 Register Flakes support process-wide.
 

Detailed Description

Bindings to the Nix Flakes library.

Function Documentation

◆ nix_flake_settings_new()

nix_flake_settings * nix_flake_settings_new ( nix_c_context * context)

Create a nix_flake_settings initialized with default values.

Parameters
[out]contextOptional, stores error information
Returns
A new nix_flake_settings or NULL on failure.
See also
nix_flake_settings_free