From e7cb3be598eb56a43499c6646b2baaf97b9bb8d7 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sat, 31 Oct 2026 16:31:00 -0700 Subject: [PATCH] fix(nix): include the pan transcript fixtures in the macOS source The kfm clippy check failed with: couldn't read komorebi-for-mac/komorebi/src/../../komorebic/fixtures/pan3-{long,flick,slow}.transcript.txt. The macOS tests include_str! them, and the source filter drops .txt files (craneLib.filterCargoSources), as the Windows filter did before its own fix. The filter now keeps files under a komorebic/fixtures directory. Verified: the kfm deny drvPath still evaluates (shared source filter); the clippy attribute needs a darwin builder, so it is not verified here. --- komorebi-for-mac/flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/komorebi-for-mac/flake.nix b/komorebi-for-mac/flake.nix index 7dbe4ab2..80a2c30c 100644 --- a/komorebi-for-mac/flake.nix +++ b/komorebi-for-mac/flake.nix @@ -111,6 +111,8 @@ || (builtins.match ".*/docs/.*" path != null) # embedded by include_str! in komorebic || (pkgs.lib.hasSuffix "/komorebic/src/macos/applications.json" path) + # include_str! by the tests of the macOS daemon + || (builtins.match ".*/komorebic/fixtures/.*" path != null) ); };