v8_8_x: restrict compiler version check to GCC

Fixes: 519f9b3d29 ("v8_8_x: mark broken with GCC 12")
This commit is contained in:
Alyssa Ross 2023-02-12 14:33:23 +00:00
parent fd58bd4e07
commit 0e2ed40a8b

View File

@ -167,6 +167,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ cstrahan proglodyte matthewbauer ];
platforms = platforms.unix;
license = licenses.bsd3;
broken = lib.versionAtLeast stdenv.cc.version "12";
broken = stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "12";
};
}