diff --git a/pkgs/applications/blockchains/clightning/default.nix b/pkgs/applications/blockchains/clightning/default.nix index c51a2ced056c..b6f149e3a7f1 100644 --- a/pkgs/applications/blockchains/clightning/default.nix +++ b/pkgs/applications/blockchains/clightning/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { # when building on darwin we need dawin.cctools to provide the correct libtool # as libwally-core detects the host as darwin and tries to add the -static # option to libtool, also we have to add the modified gsed package. - nativeBuildInputs = [ autogen autoconf automake gettext pkg-config py3 unzip which ] + nativeBuildInputs = [ autogen autoconf automake gettext pkg-config py3 unzip which ] ++ lib.optionals stdenv.isDarwin [ darwin.cctools ] ++ [ libtool ]; buildInputs = [ gmp libsodium sqlite zlib ];