fpc: mark broken with Clang on x86‐64

This is only really relevant to `x86_64-darwin`, and it’s not worth
keeping an unmaintained LLVM around for given the limited remaining
lifespan of the platform.

Emily e71ade9b 831ef807

Changed files
+5 -7
pkgs
development
compilers
top-level
+4
pkgs/development/compilers/fpc/default.nix
···
lgpl2
];
platforms = platforms.unix;
+
# See:
+
# * <https://gitlab.com/freepascal.org/fpc/source/-/issues/41045>
+
# * <https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/887>
+
broken = stdenv.cc.isClang && stdenv.hostPlatform.isx86_64;
};
}
+1 -7
pkgs/top-level/all-packages.nix
···
flutter327 = flutterPackages.v3_27;
flutter324 = flutterPackages.v3_24;
-
fpc = callPackage ../development/compilers/fpc {
-
# https://github.com/NixOS/nixpkgs/issues/416485
-
# TODO: remove when upstream issue is fixed:
-
# https://gitlab.com/freepascal.org/fpc/source/-/issues/41045
-
stdenv =
-
if stdenv.cc.isClang && stdenv.hostPlatform.isx86_64 then llvmPackages_17.stdenv else stdenv;
-
};
+
fpc = callPackage ../development/compilers/fpc { };
gambit = callPackage ../development/compilers/gambit { };
gambit-unstable = callPackage ../development/compilers/gambit/unstable.nix { };