mirror of
https://github.com/NixOS/nix
synced 2025-06-30 19:57:59 +02:00
Move calling flakes into a Nix helper function (call-flake.nix)
This commit is contained in:
parent
5a1514adb8
commit
73769b28e3
9 changed files with 93 additions and 154 deletions
|
@ -123,6 +123,11 @@ nlohmann::json LockedInputs::toJson() const
|
|||
return json;
|
||||
}
|
||||
|
||||
std::string LockedInputs::to_string() const
|
||||
{
|
||||
return toJson().dump(2);
|
||||
}
|
||||
|
||||
bool LockedInputs::isImmutable() const
|
||||
{
|
||||
for (auto & i : inputs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue