Update rev generation
This commit is contained in:
parent
f690eb07c4
commit
aaacd40528
|
@ -17,7 +17,7 @@
|
||||||
cargoLock = { lockFile = ./gfx2inc/Cargo.lock; };
|
cargoLock = { lockFile = ./gfx2inc/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.gfx2inc;
|
packages.default = packages.gfx2inc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user