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.
This commit is contained in:
Emily
2025-09-14 19:03:24 +01:00
parent 831ef807cf
commit e71ade9ba7
2 changed files with 5 additions and 7 deletions
@@ -111,5 +111,9 @@ stdenv.mkDerivation rec {
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
View File
@@ -4732,13 +4732,7 @@ with pkgs;
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 { };