From cbf0490176c86e3c674048df1b99a516d125cb91 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 21 Jun 2023 19:04:10 +0000 Subject: [PATCH] pkgsStatic.libargon2: fix build By default, LIBRARIES includes both $(LIB_SH) (the shared library), and $(LIB_ST) (the static library). --- pkgs/development/libraries/libargon2/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libargon2/default.nix b/pkgs/development/libraries/libargon2/default.nix index 4eb28fb02fe..ae9ba47cdc3 100644 --- a/pkgs/development/libraries/libargon2/default.nix +++ b/pkgs/development/libraries/libargon2/default.nix @@ -29,6 +29,8 @@ stdenv.mkDerivation rec { "ARGON2_VERSION=${version}" "LIBRARY_REL=lib" "PKGCONFIG_REL=lib" + ] ++ lib.optionals stdenv.hostPlatform.isStatic [ + "LIBRARIES=$(LIB_ST)" ]; meta = with lib; {