mirror of
https://github.com/NixOS/nix.git
synced 2025-12-07 17:41:00 +01:00
C API: (breaking) remove nix-flake-c global init
This commit is contained in:
parent
3c4c0953e0
commit
6a192ec0cd
12 changed files with 124 additions and 69 deletions
|
|
@ -1,7 +1,13 @@
|
|||
#include "flake/settings.hh"
|
||||
#include "flake/flake-primops.hh"
|
||||
|
||||
namespace nix::flake {
|
||||
|
||||
Settings::Settings() {}
|
||||
|
||||
void Settings::configureEvalSettings(nix::EvalSettings & evalSettings)
|
||||
{
|
||||
evalSettings.addPrimOp(primops::getFlake(*this));
|
||||
}
|
||||
|
||||
} // namespace nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue