mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
influxdb2: fix build with rust 1.54 (#195534)
This commit is contained in:
parent
bb38470b96
commit
58cb56ee9c
@ -1,6 +1,7 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, go-bindata
|
||||
, lib
|
||||
, llvmPackages
|
||||
@ -40,6 +41,16 @@ let
|
||||
rev = "v${libflux_version}";
|
||||
sha256 = "sha256-xcsmvT8Ve1WbfwrdVPnJcj7RAvrk795N3C95ubbGig0=";
|
||||
};
|
||||
patches = [
|
||||
# https://github.com/influxdata/flux/pull/5273
|
||||
# fix compile error with Rust 1.64
|
||||
(fetchpatch {
|
||||
url = "https://github.com/influxdata/flux/commit/20ca62138a0669f2760dd469ca41fc333e04b8f2.patch";
|
||||
stripLen = 2;
|
||||
extraPrefix = "";
|
||||
sha256 = "sha256-Fb4CuH9ZvrPha249dmLLI8MqSNQRKqKPxPbw2pjqwfY=";
|
||||
})
|
||||
];
|
||||
sourceRoot = "source/libflux";
|
||||
cargoSha256 = "sha256-+hJQFV0tWeTQDN560DzROUNpdkcZ5h2sc13akHCgqPc=";
|
||||
nativeBuildInputs = [ llvmPackages.libclang ];
|
||||
|
Loading…
Reference in New Issue
Block a user