pkgsStatic.libargon2: fix build

By default, LIBRARIES includes both $(LIB_SH) (the shared library),
and $(LIB_ST) (the static library).
This commit is contained in:
Alyssa Ross 2023-06-21 19:04:10 +00:00
parent 9f103c5ddf
commit cbf0490176

View file

@ -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; {