overlay.nix: rename diffHash to sha256
replaces diffHash function argument with the name sha256 for clarity
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
, 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 ? {}
owner = "koverstreet";
repo = "bcachefs";
rev = commit;
- sha256 = diffHash;
+ inherit sha256;
};
extraConfig = "BCACHEFS_FS m";
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 = [];
};
};