diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-01-17 17:44:42 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-01-18 12:16:51 +0000 |
commit | e8b42ea1ca9937835b9a8eb48c9ee5ceb1ad6eae (patch) | |
tree | bba12be0d35676afb09652040bbc473c641d5dd4 | |
parent | d01e46db3c45c72cdda1572ee2037fd0fb2898a6 (diff) |
libcddb: depend on libiconv unconditionally
libiconv is already defined per-platform. The actual libiconv library won't be built on platforms like Linux where it doesn't need to be, so there's no need to maintain a separate platform list here. Required to build for FreeBSD.
-rw-r--r-- | pkgs/development/libraries/libcddb/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libcddb/default.nix b/pkgs/development/libraries/libcddb/default.nix index 4848f5fcc2659..5c41f9fb0bf71 100644 --- a/pkgs/development/libraries/libcddb/default.nix +++ b/pkgs/development/libraries/libcddb/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim"; }; - buildInputs = lib.optional stdenv.isDarwin libiconv; + buildInputs = [ libiconv ]; configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "ac_cv_func_malloc_0_nonnull=yes" |