diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-11-12 10:38:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 10:38:00 +0100 |
commit | 44aed585386ae1180684d9f33af9f0c9a11926d4 (patch) | |
tree | c7f242c9ddfdae07c5d477b7eeb96b36b9c28f97 /src | |
parent | c78155b4366f2c76622bc2cf10d7b3bf4332ba0c (diff) | |
parent | c1dea92dd6fb5c07127bcf43d8c76d8a59470d7a (diff) |
Merge pull request #5540 from samueldr/fix/key-subcommand
nix key: Fix error message and don't require flakes
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/sigs.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nix/sigs.cc b/src/nix/sigs.cc index 6a238efbe..3d659d6d2 100644 --- a/src/nix/sigs.cc +++ b/src/nix/sigs.cc @@ -218,8 +218,7 @@ struct CmdKey : NixMultiCommand void run() override { if (!command) - throw UsageError("'nix flake' requires a sub-command."); - settings.requireExperimentalFeature(Xp::Flakes); + throw UsageError("'nix key' requires a sub-command."); command->second->prepare(); command->second->run(); } |