Unverified Commit f1caaa39 authored by Andrea Ciceri's avatar Andrea Ciceri
Browse files

influxdb: fix libflux build

parent c5acf065
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,10 +26,10 @@ let
      # https://github.com/influxdata/flux/pull/5542
      ../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 = ''
      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";