libuv: clarify darwin.libutil dependency

This commit is contained in:
Emily 2024-11-06 19:05:11 +00:00
parent 59da82bf02
commit 9bf6e33999

View File

@ -87,7 +87,11 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ automake autoconf libtool pkg-config ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.libutil ];
# This is part of the Darwin bootstrap, so we dont always get
# `libutil.dylib` automatically propagated through the SDK.
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
(lib.getLib darwin.libutil)
];
preConfigure = ''
LIBTOOLIZE=libtoolize ./autogen.sh