Update rev generation
This commit is contained in:
parent
4d8d3d1c48
commit
154e6e2dbc
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user