mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
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:
parent
ca3a42a70c
commit
505299bcde
@ -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";
|
||||
|
@ -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 = [];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user