diff --git a/pkgs/servers/nosql/influxdb2/default.nix b/pkgs/servers/nosql/influxdb2/default.nix index 4f86cc4da530..b5352909cab5 100644 --- a/pkgs/servers/nosql/influxdb2/default.nix +++ b/pkgs/servers/nosql/influxdb2/default.nix @@ -1,10 +1,8 @@ { buildGoModule , fetchFromGitHub , fetchurl -, fetchpatch , go-bindata , lib -, llvmPackages , perl , pkg-config , rustPlatform @@ -43,9 +41,8 @@ let }; sourceRoot = "source/libflux"; cargoSha256 = "sha256-9rPW0lgi3lXJARa1KXgSY8LVJsoFjppok5ODGlqYeYw="; - nativeBuildInputs = [ llvmPackages.libclang ]; + nativeBuildInputs = [ rustPlatform.bindgenHook ]; buildInputs = lib.optional stdenv.isDarwin libiconv; - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; pkgcfg = '' Name: flux Version: ${libflux_version}