Move calling flakes into a Nix helper function (call-flake.nix)

This commit is contained in:
Eelco Dolstra
2020-03-09 15:28:41 +01:00
parent 5a1514adb8
commit 73769b28e3
9 changed files with 93 additions and 154 deletions
+5
View File
@@ -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)