From 308a224f9c1ec17d009bd36ae8e36235ea10fde9 Mon Sep 17 00:00:00 2001 From: Ivy Pierlot Date: Thu, 2 Oct 2025 11:59:40 +1000 Subject: [PATCH] haskellPackages.kmonad: add darwinDriver --- pkgs/development/haskell-modules/configuration-nix.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index fef271f1fbea..07e1f2b1c04b 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -1865,7 +1865,12 @@ builtins.intersectAttrs super { kmonad = lib.pipe super.kmonad [ enableSeparateBinOutput (overrideCabal (drv: { - passthru = lib.recursiveUpdate drv.passthru or { } { tests.nixos = pkgs.nixosTests.kmonad; }; + passthru = lib.recursiveUpdate drv.passthru or { } { + darwinDriver = pkgs.karabiner-dk.override { + driver-version = "5.0.0"; + }; + tests.nixos = pkgs.nixosTests.kmonad; + }; })) ];