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.
This commit is contained in:
LGUG2Z committed 2026-10-31 01:37:53 -07:00
1 parent c3dc3a8e49
commit b38a26f289
1 file changed
+1 -1
+1 -1
View File
@@ -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"));
}
);