diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2021-11-11 21:29:18 -0500 |
---|---|---|
committer | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2021-11-11 21:31:26 -0500 |
commit | c1dea92dd6fb5c07127bcf43d8c76d8a59470d7a (patch) | |
tree | 7ce5aa01abe23ec75473a13a6d1e7a7b8f0686eb /src/nix/sigs.cc | |
parent | 52a3b2ee6367306a3f17fe9a2d0e2e4096852e05 (diff) |
nix key: Fix error message and don't require flakes
Diffstat (limited to 'src/nix/sigs.cc')
-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(); } |