1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 16:51:15 +02:00

Ask for confirmation before allowing flake Nix configuration settings

This commit is contained in:
Eelco Dolstra 2020-11-26 12:34:43 +01:00
parent 605bacdc92
commit 0287f83057
4 changed files with 53 additions and 32 deletions

View file

@ -106,6 +106,9 @@ public:
formatHelper(f, args...);
writeToStdout(f.str());
}
virtual std::optional<char> ask(std::string_view s)
{ return {}; }
};
ActivityId getCurActivity();