aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/shared.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/shared.cc')
-rw-r--r--src/libmain/shared.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 5e19bddb7..8e693fd8d 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -28,8 +28,6 @@
#include <openssl/crypto.h>
-#include <sodium.h>
-
namespace nix {
@@ -164,9 +162,6 @@ void initNix()
initLibUtil();
initLibStore();
- if (sodium_init() == -1)
- throw Error("could not initialise libsodium");
-
startSignalHandlerThread();
/* Reset SIGCHLD to its default. */