1
0
Fork 0
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:
Eelco Dolstra 2020-03-09 15:28:41 +01:00
parent 5a1514adb8
commit 73769b28e3
9 changed files with 93 additions and 154 deletions

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)