fix: nix build git version patch (untested)
This commit is contained in:
parent
51cc7d68eb
commit
0f10b343f1
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
GIT_COMMIT_HASH_SHORT = self.shortRev or "unknown";
|
GIT_COMMIT_HASH_SHORT = self.shortRev or "unknown";
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace crates/aiken/src/cmd/mod.rs \
|
substituteInPlace crates/aiken-project/src/config.rs \
|
||||||
--replace "built_info::GIT_COMMIT_HASH_SHORT" \
|
--replace "built_info::GIT_COMMIT_HASH_SHORT" \
|
||||||
"Some(\"$GIT_COMMIT_HASH_SHORT\")"
|
"Some(\"$GIT_COMMIT_HASH_SHORT\")"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue