This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/linux/bcachefs/default.nix

29 lines
639 B
Nix
Raw Normal View History

{
lib,
fetchFromGitHub,
buildLinux,
...
} @ args: let
2023-06-26 06:00:07 +00:00
modDirVersion = "6.4.0";
source = builtins.fromJSON (builtins.readFile ./source.json);
in
2023-06-25 15:58:48 +00:00
buildLinux (args
// {
inherit modDirVersion;
2023-06-26 06:00:07 +00:00
version = "6.4.0+${source.rev}";
src = fetchFromGitHub {
owner = "koverstreet";
repo = "bcachefs";
inherit (source) rev sha256;
};
structuredExtraConfig = with lib.kernel; {
BCACHEFS_FS = module;
BCACHEFS_DEBUG = yes;
KALLSYMS = yes;
KALLSYMS_ALL = yes;
DEBUG_FS = yes;
DYNAMIC_FTRACE = yes;
FTRACE = yes;
};
2023-06-25 15:58:48 +00:00
})