From 4c278e2f9ddc33f825e423e2ac13f88c25aacceb Mon Sep 17 00:00:00 2001 From: waalge <47293755+waalge@users.noreply.github.com> Date: Thu, 28 Sep 2023 09:05:43 +0000 Subject: [PATCH] Use unknown when git dirty Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com> --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index db67c3bd..a283b261 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ cargoLock.lockFile = ./Cargo.lock; - GIT_COMMIT_HASH_SHORT = self.shortRev or "dirty"; # or self.dirtyRev; + GIT_COMMIT_HASH_SHORT = self.shortRev or "unknown"; postPatch = '' substituteInPlace crates/aiken/src/cmd/mod.rs \ --replace "built_info::GIT_COMMIT_HASH_SHORT" \