feat: add commit info to Nix build

This commit is contained in:
Henry-Hiles
2026-07-10 19:04:01 +00:00
committed by Ellis Git
parent 5e306f160a
commit 03bde0e5fa
+2
View File
@@ -43,6 +43,8 @@ let
env = {
CARGO_PROFILE = profile;
RUSTFLAGS = rustflags;
GIT_COMMIT_HASH = self.rev or self.dirtyRev;
GIT_COMMIT_HASH_SHORT = self.shortRev or self.dirtyShortRev;
}
// (lib.optionalAttrs (rocksdb != null) {
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";