magic-enum: fix build issues on gcc 12
Update pkgs/development/libraries/magic-enum/default.nix Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
parent
1a8025ccb9
commit
f55af2ad59
|
@ -15,7 +15,12 @@ stdenv.mkDerivation rec{
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
doCheck = true;
|
# disable tests until upstream fixes build issues with gcc 12
|
||||||
|
# see https://github.com/Neargye/magic_enum/issues/235
|
||||||
|
doCheck = false;
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DMAGIC_ENUM_OPT_BUILD_TESTS=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib;{
|
meta = with lib;{
|
||||||
description = "Static reflection for enums (to string, from string, iteration) for modern C++";
|
description = "Static reflection for enums (to string, from string, iteration) for modern C++";
|
||||||
|
|
Loading…
Reference in a new issue