diff --git a/release.nix b/release.nix
index adf87f68ada3cb3e5737c5639fa1992e6d29022e..53ab8ca5f846bef4c63f84118cb46960f3f05f82 100644
--- a/release.nix
+++ b/release.nix
@@ -152,7 +152,7 @@ let
         src = tarball;
 
         buildInputs =
-          [ curl perl bzip2 openssl pkgconfig sqlite
+          [ curl perl bzip2 openssl pkgconfig sqlite xz libsodium
             # These are for "make check" only:
             graphviz libxml2 libxslt
           ];