fix: nix build requires githash

This commit is contained in:
waalge 2024-01-19 14:13:32 +00:00
parent 1f6e719fde
commit 51cc7d68eb
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@
src = pkgs.lib.cleanSourceWith { src = self; };
cargoLock.lockFile = ./Cargo.lock;
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = { "pallas-0.21.0" = "sha256-QuJwwyNaPpXBi7GzLh/V2cIRYz29Xsd3HUeG4yPt8VQ="; };
};
GIT_COMMIT_HASH_SHORT = self.shortRev or "unknown";
postPatch = ''