2023-01-23 09:49:01 +00:00
|
|
|
# nixpkgs's variant is broken because they have non-applying patches on top of the latest kernel,
|
|
|
|
# instead of using kernel.
|
|
|
|
|
2023-04-15 21:08:41 +00:00
|
|
|
{ buildLinux
|
2023-01-23 09:49:01 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, ...
|
|
|
|
} @ args:
|
|
|
|
buildLinux (args // {
|
|
|
|
# NOTE: bcachefs-tools should be updated simultaneously to preserve compatibility
|
2023-05-04 08:23:23 +00:00
|
|
|
version = "6.3.0-2023-05-02";
|
2023-05-12 15:20:14 +00:00
|
|
|
|
2023-05-04 08:23:23 +00:00
|
|
|
modDirVersion = "6.3.0";
|
2023-01-23 09:49:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "koverstreet";
|
|
|
|
repo = "bcachefs";
|
2023-05-04 08:23:23 +00:00
|
|
|
rev = "ccc8737427a33228cd43d79dd0c7ed6903dedff0";
|
|
|
|
sha256 = "sha256-jqTFE9OZg1GU/W7GnHjtLRfu/l0LYMa3ynHtruY62Og=";
|
2023-01-23 09:49:01 +00:00
|
|
|
};
|
|
|
|
|
2023-02-06 14:24:34 +00:00
|
|
|
kernelPatches = (args.kernelPatches or [ ]) ++ [{
|
2023-01-23 09:49:01 +00:00
|
|
|
name = "bcachefs-config";
|
|
|
|
patch = null;
|
|
|
|
extraConfig = ''
|
|
|
|
BCACHEFS_FS m
|
|
|
|
'';
|
|
|
|
}];
|
2023-02-06 14:24:34 +00:00
|
|
|
} // (args.argsOverride or { }))
|