Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[staging-next] chez: pin to clang-17 on x64 darwin #367294

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion pkgs/by-name/ch/chez/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
lib,
stdenv,
llvmPackages_17,
fetchurl,
coreutils,
cctools,
Expand All @@ -10,8 +11,17 @@
libX11,
libuuid,
testers,
}:
}@args:

let
# x64 darwin fails with invalid memory reference with clang-18 & 19.
# https://github.com/cisco/ChezScheme/issues/896
stdenv =
if args.stdenv.hostPlatform.isDarwin && args.stdenv.hostPlatform.isx86_64 then
llvmPackages_17.stdenv
else
args.stdenv;
in
stdenv.mkDerivation (finalAttrs: {
pname = "chez-scheme";
version = "10.1.0";
Expand Down
Loading