mirror of
https://github.com/NixOS/nix.git
synced 2025-12-07 09:31:01 +01:00
Move libflake/flake/* to libflake
This commit is contained in:
parent
876f676d90
commit
bc67e47298
9 changed files with 12 additions and 12 deletions
15
src/libflake/settings.cc
Normal file
15
src/libflake/settings.cc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include "nix/flake/settings.hh"
|
||||
#include "nix/flake/flake-primops.hh"
|
||||
|
||||
namespace nix::flake {
|
||||
|
||||
Settings::Settings() {}
|
||||
|
||||
void Settings::configureEvalSettings(nix::EvalSettings & evalSettings) const
|
||||
{
|
||||
evalSettings.extraPrimOps.emplace_back(primops::getFlake(*this));
|
||||
evalSettings.extraPrimOps.emplace_back(primops::parseFlakeRef);
|
||||
evalSettings.extraPrimOps.emplace_back(primops::flakeRefToString);
|
||||
}
|
||||
|
||||
} // namespace nix
|
||||
Loading…
Add table
Add a link
Reference in a new issue