mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
27 lines
731 B
Nix
27 lines
731 B
Nix
# nixpkgs's variant is broken because they have non-applying patches on top of the latest kernel,
|
|
# instead of using kernel.
|
|
|
|
{ buildLinux
|
|
, fetchFromGitHub
|
|
, ...
|
|
} @ args:
|
|
buildLinux (args // {
|
|
# NOTE: bcachefs-tools should be updated simultaneously to preserve compatibility
|
|
version = "6.2.0-2023-04-15";
|
|
modDirVersion = "6.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "koverstreet";
|
|
repo = "bcachefs";
|
|
rev = "7fe6ebbf4057767c966450a4f2a7f299a179b9da";
|
|
sha256 = "sha256-IUAXpSsLZ50zZY8eFHW1wNKH+VGnC6TH3mH2QFr6SUk=";
|
|
};
|
|
|
|
kernelPatches = (args.kernelPatches or [ ]) ++ [{
|
|
name = "bcachefs-config";
|
|
patch = null;
|
|
extraConfig = ''
|
|
BCACHEFS_FS m
|
|
'';
|
|
}];
|
|
} // (args.argsOverride or { }))
|