From 801111d984da5acefeb502c04261d2691f28f4d1 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Thu, 30 Jul 2026 19:10:09 -0400 Subject: [PATCH] ahk_x11: pin crystal version to crystal_1_19 ahk_x11 has problems running using Crystal >=1.20.0 There is an PR in the ahk_x11 repository that points out this issue: https://github.com/phil294/AHK_X11/pull/127 ahk_x11: Add comment about Crystal 1.19 pinning --- pkgs/by-name/ah/ahk_x11/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ah/ahk_x11/package.nix b/pkgs/by-name/ah/ahk_x11/package.nix index b088ae250cc0..90e502acc936 100644 --- a/pkgs/by-name/ah/ahk_x11/package.nix +++ b/pkgs/by-name/ah/ahk_x11/package.nix @@ -1,7 +1,7 @@ { lib, fetchFromGitHub, - crystal, + crystal_1_19, copyDesktopItems, gtk3, libxkbcommon, @@ -24,6 +24,10 @@ let pname = "ahk_x11"; version = "1.0.7"; + # Pinning to Crystal 1.19.x since ahk_x11 crashes with segmentation + # fault when built using >=1.20.0 + # Refernce: https://github.com/phil294/AHK_X11/pull/127 + crystal = crystal_1_19; in crystal.buildCrystalPackage { inherit pname version;