From a738046341e492e4fe7704419a65369457cda02e Mon Sep 17 00:00:00 2001 From: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:46:52 +0000 Subject: [PATCH] Update pkgs/development/compilers/gcc/patches/default.nix --- pkgs/development/compilers/gcc/patches/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/gcc/patches/default.nix b/pkgs/development/compilers/gcc/patches/default.nix index 2dd480fc6e57..15880913bde1 100644 --- a/pkgs/development/compilers/gcc/patches/default.nix +++ b/pkgs/development/compilers/gcc/patches/default.nix @@ -195,7 +195,7 @@ in }) # Fix undefined symbol errors when building older versions with clang -++ optional (!atLeast11 && stdenv.cc.isClang) ./clang-genconditions.patch +++ optional (!atLeast11 && stdenv.cc.isClang && stdenv.hostPlatform.isDarwin) ./clang-genconditions.patch ## gcc 9.0 and older ##############################################################################