libxml2: FreeBSD is no longer an impure platform

This commit is contained in:
Audrey Dutcher 2024-05-24 09:08:18 -07:00
parent f6ce3b4dfa
commit 75829eeda0

View File

@ -4,7 +4,6 @@
, zlib
, pkg-config
, autoreconfHook
, xz
, libintl
, python
, gettext
@ -57,11 +56,6 @@ stdenv.mkDerivation (finalAttrs: rec {
ncurses
] ++ lib.optionals (stdenv.isDarwin && pythonSupport && python?isPy2 && python.isPy2) [
libintl
] ++ lib.optionals stdenv.isFreeBSD [
# Libxml2 has an optional dependency on liblzma. However, on impure
# platforms, it may end up using that from /usr/lib, and thus lack a
# RUNPATH for that, leading to undefined references for its users.
xz
];
propagatedBuildInputs = [