From b38a26f289a1284552a23a3ccf482e53d88dd671 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 30 Oct 2026 19:57:19 -0700 Subject: [PATCH] fix(kde): build without self.dirtyRev when the flake is a nested path input A path-input flake has no dirtyRev attribute, so evaluation failed. Falls back to "unknown" via self.dirtyRev or. An earlier same-derivation comparison was a false positive because both sides printed the same error; this fix came from retracting it. Verified: the KDE package evaluates and builds from the root flake. --- komorebi-for-kde/flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komorebi-for-kde/flake.nix b/komorebi-for-kde/flake.nix index b3929dc9..dcdf6649 100644 --- a/komorebi-for-kde/flake.nix +++ b/komorebi-for-kde/flake.nix @@ -88,7 +88,7 @@ fullBuild = craneLib.buildPackage ( individualCrateArgs // { - COMMIT_HASH = self.rev or (pkgs.lib.removeSuffix "-dirty" self.dirtyRev); + COMMIT_HASH = self.rev or (pkgs.lib.removeSuffix "-dirty" (self.dirtyRev or "unknown")); } );