Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

crystal: 1.11 -> 1.14 #303173

Merged
merged 10 commits into from
Oct 27, 2024
1 change: 1 addition & 0 deletions pkgs/applications/editors/tijolo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ crystal.buildCrystalPackage rec {
license = licenses.mit;
mainProgram = "tijolo";
maintainers = with maintainers; [ sund3RRR ];
broken = true;
};
}
20 changes: 19 additions & 1 deletion pkgs/development/compilers/crystal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
, libffi
, llvmPackages_13
, llvmPackages_15
, llvmPackages_18
, makeWrapper
, openssl
, pcre2
Expand Down Expand Up @@ -246,6 +247,7 @@ let
passthru.buildCrystalPackage = callPackage ./build-package.nix {
crystal = finalAttrs.finalPackage;
};
passthru.llvmPackages = llvmPackages;

meta = with lib; {
inherit (binary.meta) platforms;
Expand Down Expand Up @@ -314,5 +316,21 @@ rec {
llvmPackages = llvmPackages_15;
};

crystal = crystal_1_11;
crystal_1_12 = generic {
version = "1.12.1";
sha256 = "sha256-Q6uI9zPZ3IOGyUuWdC179GPktPGFPRbRWKtOF4YWCBw=";
binary = binaryCrystal_1_10;
llvmPackages = llvmPackages_18;
};

crystal_1_14 = generic {
version = "1.14.0";
sha256 = "sha256-ayMF5yinHVOUaZxhlmqxb/iiGJHmloeYuKcnrPmxo9Y=";
binary = binaryCrystal_1_10;
llvmPackages = llvmPackages_18;
doCheck = false; # Some compiler spec problems on x86-64_linux with the .0 release
};


crystal = crystal_1_14;
}
5 changes: 4 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14483,12 +14483,15 @@ with pkgs;
crystal_1_7
crystal_1_8
crystal_1_9
crystal_1_11
crystal_1_12
crystal_1_14
crystal;

crystal2nix = callPackage ../development/compilers/crystal2nix { };

crystalline = callPackage ../development/tools/language-servers/crystalline {
llvmPackages = llvmPackages_15;
llvmPackages = crystal.llvmPackages;
};

icr = callPackage ../development/tools/icr { };
Expand Down