Update rev generation

This commit is contained in:
xenia 2024-02-14 22:09:07 +01:00
parent 4d8d3d1c48
commit 154e6e2dbc

View File

@ -18,7 +18,7 @@
cargoLock = { lockFile = ./Cargo.lock; }; cargoLock = { lockFile = ./Cargo.lock; };
NIX_SEMVER = version; NIX_SEMVER = version;
NIX_GIT_SHA_SHORT = if self ? rev then builtins.substring 0 7 self.rev else "dirty"; NIX_GIT_SHA_SHORT = self.shortRev or self.dirtyShortRev;
}; };
packages.default = packages.fox32asm; packages.default = packages.fox32asm;