1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 20:46:01 +01:00

Move FlakeCommand into a header, allow separate registration of subcommands

This allows us to start splitting up src/nix/flake.cc.
This commit is contained in:
Eelco Dolstra 2025-06-26 17:04:34 +02:00
parent df2d5f276a
commit eaced1e0d2
3 changed files with 67 additions and 53 deletions

View file

@ -5,6 +5,7 @@
#include "nix/util/canon-path.hh"
#include "nix/main/common-args.hh"
#include "nix/expr/search-path.hh"
#include "nix/expr/eval-settings.hh"
#include <filesystem>
@ -15,10 +16,8 @@ class Store;
namespace fetchers { struct Settings; }
class EvalState;
struct EvalSettings;
struct CompatibilitySettings;
class Bindings;
struct SourcePath;
namespace flake { struct Settings; }