feat: allow dirty revisions
Some checks failed
/ check (push) Has been cancelled

This commit is contained in:
Daniel Flanagan 2025-02-18 11:28:52 -06:00
parent cdd41a6a7a
commit 9b0f8b7a79

View file

@ -84,7 +84,9 @@
}; };
config = { config = {
system.configurationRevision = lib.mkIf (self ? rev) self.rev; system.configurationRevision = toString (
self.shortRev or self.dirtyShortRev or self.lastModified or "unknown"
);
environment.etc = { environment.etc = {
"lytedev/rev".text = config.system.configurationRevision; "lytedev/rev".text = config.system.configurationRevision;
}; };