aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-06 17:56:53 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-01-06 17:56:53 +0100
commit0df69d96e02ce4c9e17bd33333c5d78313341dd3 (patch)
treefea6aa6a86b8c51ac97ec20db43e46347c102ede /src/nix
parent9374c2baeabe45a22e4b8746dc97f5ce4f030184 (diff)
Make sodium a required dependency
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/sigs.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nix/sigs.cc b/src/nix/sigs.cc
index b2e598ad5..14e2c9761 100644
--- a/src/nix/sigs.cc
+++ b/src/nix/sigs.cc
@@ -142,7 +142,6 @@ struct CmdSignPaths : StorePathsCommand
static auto rCmdSignPaths = registerCommand2<CmdSignPaths>({"store", "sign-paths"});
-#if HAVE_SODIUM
struct CmdKeyGenerateSecret : Command
{
std::optional<std::string> keyName;
@@ -227,4 +226,3 @@ struct CmdKey : NixMultiCommand
};
static auto rCmdKey = registerCommand<CmdKey>("key");
-#endif