Skip to content

Commit

Permalink
fix: nix build git version patch (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
waalge committed Jan 19, 2024
1 parent 51cc7d6 commit 0f10b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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\")"
'';
Expand Down

0 comments on commit 0f10b34

Please sign in to comment.