From 0e2ed40a8b6ccfcefad3fc6f5192ed38a9a9d995 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 12 Feb 2023 14:33:23 +0000 Subject: [PATCH] v8_8_x: restrict compiler version check to GCC Fixes: 519f9b3d298 ("v8_8_x: mark broken with GCC 12") --- pkgs/development/libraries/v8/8_x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/v8/8_x.nix b/pkgs/development/libraries/v8/8_x.nix index b467bd83e2d4..d55d87f32164 100644 --- a/pkgs/development/libraries/v8/8_x.nix +++ b/pkgs/development/libraries/v8/8_x.nix @@ -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"; }; }