aboutsummaryrefslogtreecommitdiff
path: root/src/nix/sigs.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-03-10 15:48:14 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-03-10 15:48:14 +0000
commit8ba089597fa19bfd49ba5f22a5e821740ca4eb5d (patch)
treeb4f2299b9c973ef7636f8ce1bab0299dee4cc389 /src/nix/sigs.cc
parent13b6b645897fd2edaa0f09fa48d6fe8dd6287b55 (diff)
parent4d98143914120d0163f5c50f30ce8a5289433f8f (diff)
Merge remote-tracking branch 'upstream/master' into path-info
Diffstat (limited to 'src/nix/sigs.cc')
-rw-r--r--src/nix/sigs.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nix/sigs.cc b/src/nix/sigs.cc
index e89ad2650..a08314a25 100644
--- a/src/nix/sigs.cc
+++ b/src/nix/sigs.cc
@@ -219,8 +219,7 @@ struct CmdKey : NixMultiCommand
void run() override
{
if (!command)
- throw UsageError("'nix flake' requires a sub-command.");
- settings.requireExperimentalFeature("flakes");
+ throw UsageError("'nix key' requires a sub-command.");
command->second->prepare();
command->second->run();
}