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:
Alper Çelik 2023-02-24 23:15:17 +03:00
parent 1a8025ccb9
commit f55af2ad59
No known key found for this signature in database
GPG Key ID: FA90C0AB738AB873

View File

@ -15,7 +15,12 @@ stdenv.mkDerivation rec{
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;{
description = "Static reflection for enums (to string, from string, iteration) for modern C++";