3
0
Fork 0
forked from mirrors/nixpkgs

mdbtools: fix build on latest Clang

Fixes NixOS/nixpkgs#269503

Co-authored-by: Emily Trau <13267947+emilytrau@users.noreply.github.com>
This commit is contained in:
Magnus Holm 2023-11-23 23:05:43 +01:00 committed by Weijia Wang
parent 40de593842
commit 51cb863549

View file

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-scrollkeeper" ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unused-but-set-variable";
nativeBuildInputs = [
pkg-config bison flex autoreconfHook txt2man which
];