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