fix: nix build git version patch (untested)

This commit is contained in:
waalge 2024-01-19 14:15:22 +00:00
parent 51cc7d68eb
commit 0f10b343f1
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
GIT_COMMIT_HASH_SHORT = self.shortRev or "unknown";
postPatch = ''
substituteInPlace crates/aiken/src/cmd/mod.rs \
substituteInPlace crates/aiken-project/src/config.rs \
--replace "built_info::GIT_COMMIT_HASH_SHORT" \
"Some(\"$GIT_COMMIT_HASH_SHORT\")"
'';