nix overlay: convert sha to file

This commit is contained in:
Kayla Firestack 2021-10-20 09:28:25 -04:00
parent 505299bcde
commit 11dbd981b4
2 changed files with 2 additions and 1 deletions

1
nix/bcachefs.rev.sha256 Normal file
View File

@ -0,0 +1 @@
sha256-cK2GKfn3VKd08S2a1FPSvG2+WT4iVXsa6m+/1jFlTMA=

View File

@ -22,7 +22,7 @@ final: prev: {
kernel = final.callPackage ./bcachefs-kernel.nix {
commit = final.bcachefs.tools.bcachefs_revision;
# This needs to be recalculated for every revision change
sha256 = "sha256-XSA0dBZZL8RXplgjpoLOFSULM8t/0Ztz8xlhLn9hdyw=";
sha256 = builtins.readFile ./bcachefs.rev.sha256;
kernelPatches = [];
};
};