1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00
nix/src/libflake-c/nix_api_flake_internal.hh
2025-04-02 18:29:42 +02:00

32 lines
556 B
C++

#pragma once
#include <optional>
#include "nix/util/ref.hh"
#include "nix/flake/flake.hh"
#include "nix/flake/flakeref.hh"
#include "nix/flake/settings.hh"
struct nix_flake_settings
{
nix::ref<nix::flake::Settings> settings;
};
struct nix_flake_reference_parse_flags
{
std::optional<nix::Path> baseDirectory;
};
struct nix_flake_reference
{
nix::ref<nix::FlakeRef> flakeRef;
};
struct nix_flake_lock_flags
{
nix::ref<nix::flake::LockFlags> lockFlags;
};
struct nix_locked_flake
{
nix::ref<nix::flake::LockedFlake> lockedFlake;
};