We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dirtyRev
1 parent b8ee310 commit ca6d09fCopy full SHA for ca6d09f
flake.nix
@@ -151,7 +151,7 @@
151
VERGEN_GIT_COMMIT_COUNT = toString (self.sourceInfo.revCount or 0);
152
VERGEN_GIT_COMMIT_DATE = self.sourceInfo.lastModifiedDate or "1970-01-01";
153
VERGEN_GIT_COMMIT_TIMESTAMP = toString (self.sourceInfo.lastModified or 0);
154
- VERGEN_GIT_DIRTY = if self.dirtyRev != null then "true" else "false";
+ VERGEN_GIT_DIRTY = lib.boolToString(self ? dirtyRev);
155
VERGEN_GIT_BRANCH = "main";
156
157
# Build info
0 commit comments