bcachefs-kernel.nix: rename sha256 function input

overlay.nix: rename diffHash to sha256

replaces diffHash function argument with the name sha256 for clarity

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
This commit is contained in:
Kayla Firestack 2021-10-19 15:25:33 -04:00
parent ca3a42a70c
commit 505299bcde
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
, fetchFromGitHub
, buildLinux
, commit
, diffHash ? lib.fakeSha256
, sha256 ? lib.fakeSha256
, kernelVersion ? "5.13.0"
, kernelPatches ? [] # must always be defined in bcachefs' all-packages.nix entry because it's also a top-level attribute supplied by callPackage
, argsOverride ? {}
@ -26,7 +26,7 @@ buildLinux {
owner = "koverstreet";
repo = "bcachefs";
rev = commit;
sha256 = diffHash;
inherit sha256;
};
extraConfig = "BCACHEFS_FS m";

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
diffHash = "sha256-XSA0dBZZL8RXplgjpoLOFSULM8t/0Ztz8xlhLn9hdyw=";
sha256 = "sha256-XSA0dBZZL8RXplgjpoLOFSULM8t/0Ztz8xlhLn9hdyw=";
kernelPatches = [];
};
};