From 45eeabf3a194be455d4038b999491b9e63506e45 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 4 Jun 2021 10:37:34 +0000 Subject: [PATCH] nix: always depend on libsodium Restricting this to Linux and Darwin broke other operating systems, like NetBSD. --- pkgs/tools/package-management/nix/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index 598d43bb8406..5f139a1b3b9d 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -50,11 +50,10 @@ common = ]; buildInputs = - [ curl openssl sqlite xz bzip2 nlohmann_json + [ curl libsodium openssl sqlite xz bzip2 nlohmann_json brotli boost editline ] ++ lib.optionals stdenv.isDarwin [ Security ] - ++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium ++ lib.optionals is24 [ libarchive gtest lowdown ] ++ lib.optional (is24 && stdenv.isx86_64) libcpuid ++ lib.optional withLibseccomp libseccomp