about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--release.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index b11984c80015..cfec7b9e774c 100644
--- a/release.nix
+++ b/release.nix
@@ -305,7 +305,9 @@ let
       memSize = 1024;
       meta.schedulingPriority = 50;
       configureFlags = "--sysconfdir=/etc";
-      debRequires = [ "curl" "libdbd-sqlite3-perl" "libsqlite3-0" "libbz2-1.0" "bzip2" "xz-utils" "libwww-curl-perl" ];
+      debRequires =
+        [ "curl" "libdbd-sqlite3-perl" "libsqlite3-0" "libbz2-1.0" "bzip2" "xz-utils" "libwww-curl-perl" ]
+        ++ lib.optionals (lib.elem "libsodium-dev" extraPackages) [ "libsodium13" ] ;
       debMaintainer = "Eelco Dolstra <eelco.dolstra@logicblox.com>";
       doInstallCheck = true;
     };