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:
parent
40de593842
commit
51cb863549
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue