Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions pkgs/development/compilers/crystal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -328,5 +328,13 @@ rec {
doCheck = false;
};

crystal_1_17 = generic {
version = "1.17.1";
sha256 = "sha256-+wHhozPhpIsfQy1Lw+V48zvuWCfXzT4IC9KA1AU/DLw=";
binary = binaryCrystal_1_10;
llvmPackages = llvmPackages_18;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, this supports up to LLVM 21 (though we haven’t bumped our LLVM 21 package to the stable release just yet): https://github.com/crystal-lang/crystal/blob/1.17.1/src/llvm/ext/llvm-versions.txt

(I have commits pending to bump other Crystal LLVM versions as part of dropping old LLVM versions, so just giving a heads up.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the input. I chose LLVM 18 because I saw an upstream commit that seemed to depend on older versions(11 -> 18 -> 11).

However, it would be great if a newer version works too. 👍

doCheck = false;
};

crystal = crystal_1_16;
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4745,6 +4745,7 @@ with pkgs;
crystal_1_11
crystal_1_14
crystal_1_15
crystal_1_17
crystal
;

Expand Down
Loading