about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-17T08·33+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-17T08·33+0200
commit0d4d92fcf92030dbaad0f5251232657be218cc5d (patch)
tree3af00e67a89cdf46887869912282dff805e15f49 /release.nix
parenta33b4bc01b7f09e3bc3c984090457434ef141e44 (diff)
Debian package: Declare runtime dependency on libsodium13
Fixes #558.
Diffstat (limited to 'release.nix')
-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;
     };