diff --git a/flake.nix b/flake.nix index dc79e39..42d1e35 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ cargoLock = { lockFile = ./Cargo.lock; }; 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;