crystal: 1.12.1 -> 1.14.0
This commit is contained in:
@@ -87,6 +87,5 @@ crystal.buildCrystalPackage rec {
|
||||
license = licenses.bsd2;
|
||||
mainProgram = "collision";
|
||||
maintainers = with maintainers; [ sund3RRR ];
|
||||
broken = true; # gi-crystal error: fatal - Binding config already loaded for Gio namespace.
|
||||
};
|
||||
}
|
||||
|
||||
@@ -323,5 +323,13 @@ rec {
|
||||
llvmPackages = llvmPackages_18;
|
||||
};
|
||||
|
||||
crystal = crystal_1_12;
|
||||
crystal_1_14 = generic {
|
||||
version = "1.14.0";
|
||||
sha256 = "sha256-ayMF5yinHVOUaZxhlmqxb/iiGJHmloeYuKcnrPmxo9Y=";
|
||||
binary = binaryCrystal_1_10;
|
||||
llvmPackages = llvmPackages_18;
|
||||
};
|
||||
|
||||
|
||||
crystal = crystal_1_14;
|
||||
}
|
||||
|
||||
@@ -51,13 +51,6 @@ crystal.buildCrystalPackage rec {
|
||||
inherit (versions.invidious) commit date;
|
||||
in
|
||||
''
|
||||
# bugfix for crystal_1_12 Time::Span, can be removed when fixed upstream
|
||||
substituteInPlace src/invidious/yt_backend/proxy.cr \
|
||||
--replace-fail "opts[:dns_timeout] = @dns_timeout" "opts[:dns_timeout] = @dns_timeout.try(&.to_f)" \
|
||||
--replace-fail "opts[:connect_timeout] = @connect_timeout" "opts[:connect_timeout] = @connect_timeout.try(&.to_f)" \
|
||||
--replace-fail "opts[:read_timeout] = @read_timeout" "opts[:read_timeout] = @read_timeout.try(&.to_f)" \
|
||||
|
||||
|
||||
for d in ${videojs}/*; do ln -s "$d" assets/videojs; done
|
||||
|
||||
# Use the version metadata from the derivation instead of using git at
|
||||
|
||||
@@ -14485,6 +14485,7 @@ with pkgs;
|
||||
crystal_1_9
|
||||
crystal_1_11
|
||||
crystal_1_12
|
||||
crystal_1_14
|
||||
crystal;
|
||||
|
||||
crystal2nix = callPackage ../development/compilers/crystal2nix { };
|
||||
|
||||
Reference in New Issue
Block a user