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
Charlotte 🦝 Delenk 04e6a104e2
Some checks reported errors
Hydra papermc Hydra build #67035 of nix-packages:aarch64-linux-master-pr328:papermc
Hydra akkoma-fe Hydra build #67037 of nix-packages:aarch64-linux-master-pr328:akkoma-fe
Hydra mautrix-discord Hydra build #67080 of nix-packages:aarch64-linux-master-pr328:mautrix-discord
Hydra linux-bcachefs Hydra build #67172 of nix-packages:x86_64-linux-master-pr328:linux-bcachefs
Hydra mautrix-cleanup Hydra build #67204 of nix-packages:riscv64-linux-master:mautrix-cleanup
Hydra woodpecker-agent Hydra build #67199 of nix-packages:riscv64-linux-master:woodpecker-agent
Hydra woodpecker-server Hydra build #67200 of nix-packages:riscv64-linux-master:woodpecker-server
Hydra miifox-net Hydra build #67201 of nix-packages:riscv64-linux-master:miifox-net
Hydra woodpecker-frontend Hydra build #67202 of nix-packages:riscv64-linux-master:woodpecker-frontend
Hydra woodpecker-cli Hydra build #67203 of nix-packages:riscv64-linux-master:woodpecker-cli
update
2023-10-10 07:58:57 +01:00

28 lines
639 B
Nix

{
lib,
fetchFromGitHub,
buildLinux,
...
} @ args: let
modDirVersion = "6.5.0";
source = builtins.fromJSON (builtins.readFile ./source.json);
in
buildLinux (args
// {
inherit modDirVersion;
version = "6.5.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;
};
})