flake: Compile commit hash into program version
Changes build.rs to take the GIT_HASH environment variable into account
if git rev-parse is unable to determine the current commit hash.
2 files changed
+5
-1
fb13e5f9
→
4b1ca18d
modified build.rs
@@ -1,4 +1,5 @@
|
|
| + | |
|
|
|
|
|
@@ -16,7 +17,7 @@ fn main() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified flake.nix
@@ -77,6 +77,9 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|