From e4e196fd760fa8d5b6fc578347ed79df0c0a0844 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 30 Oct 2026 19:55:19 -0700 Subject: [PATCH] fix(mac): tolerate a missing self.dirtyRev when the flake is a path input Same dirtyRev fallback as the KDE flake, for the macOS flake. Verified by evaluation only (darwin outputs cannot be built on Linux). --- komorebi-for-mac/flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komorebi-for-mac/flake.nix b/komorebi-for-mac/flake.nix index 771ea6d7..8b12f837 100644 --- a/komorebi-for-mac/flake.nix +++ b/komorebi-for-mac/flake.nix @@ -42,7 +42,7 @@ commonArgs = { inherit src version; strictDeps = true; - COMMIT_HASH = self.rev or (pkgs.lib.removeSuffix "-dirty" self.dirtyRev); + COMMIT_HASH = self.rev or (pkgs.lib.removeSuffix "-dirty" (self.dirtyRev or "unknown")); nativeBuildInputs = [ pkgs.darwin.cctools ];