Use unknown when git dirty

Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
waalge 2023-09-28 09:05:43 +00:00 committed by Lucas
parent dbd4fe2aab
commit 4c278e2f9d
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
cargoLock.lockFile = ./Cargo.lock; cargoLock.lockFile = ./Cargo.lock;
GIT_COMMIT_HASH_SHORT = self.shortRev or "dirty"; # or self.dirtyRev; GIT_COMMIT_HASH_SHORT = self.shortRev or "unknown";
postPatch = '' postPatch = ''
substituteInPlace crates/aiken/src/cmd/mod.rs \ substituteInPlace crates/aiken/src/cmd/mod.rs \
--replace "built_info::GIT_COMMIT_HASH_SHORT" \ --replace "built_info::GIT_COMMIT_HASH_SHORT" \