influxdb: fix libflux build
This commit is contained in:
@@ -26,10 +26,10 @@ let
|
|||||||
# https://github.com/influxdata/flux/pull/5542
|
# https://github.com/influxdata/flux/pull/5542
|
||||||
../influxdb2/fix-unsigned-char.patch
|
../influxdb2/fix-unsigned-char.patch
|
||||||
];
|
];
|
||||||
# Don't fail on missing code documentation
|
# Don't fail on missing code documentation and allow dead_code/lifetime warnings
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace flux-core/src/lib.rs \
|
substituteInPlace flux-core/src/lib.rs \
|
||||||
--replace-fail "deny(warnings, missing_docs))]" "deny(warnings))]"
|
--replace-fail "deny(warnings, missing_docs))]" "deny(warnings), allow(dead_code, mismatched_lifetime_syntaxes))]"
|
||||||
'';
|
'';
|
||||||
sourceRoot = "${src.name}/libflux";
|
sourceRoot = "${src.name}/libflux";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user