mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
nix-fetchers-c: Init with settings object
Also make it a dependency of nix-flake-c; we'll need that.
This commit is contained in:
parent
1061a0965a
commit
60bffbd41b
17 changed files with 213 additions and 0 deletions
12
src/libfetchers-c/nix_api_fetchers_internal.hh
Normal file
12
src/libfetchers-c/nix_api_fetchers_internal.hh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
#include "nix/fetchers/fetch-settings.hh"
|
||||
#include "nix/util/ref.hh"
|
||||
|
||||
/**
|
||||
* A shared reference to `nix::fetchers::Settings`
|
||||
* @see nix::fetchers::Settings
|
||||
*/
|
||||
struct nix_fetchers_settings
|
||||
{
|
||||
nix::ref<nix::fetchers::Settings> settings;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue