Merge pull request 'Add bcachefs' (#197) from add-bcachefs-kernel into main
Some checks failed
ci/woodpecker/cron/update-lockfile Pipeline is pending
Hydra nasin-nanpa Hydra build #41625 of nix-packages:aarch64-linux-master:nasin-nanpa
Hydra python-mautrix Hydra build #41627 of nix-packages:aarch64-linux-master:python-mautrix
Hydra linux-bcachefs Hydra build #41633 of nix-packages:aarch64-linux-master:linux-bcachefs
Hydra mautrix-telegram Hydra build #41641 of nix-packages:aarch64-linux-master:mautrix-telegram
Hydra mautrix-signal Hydra build #41649 of nix-packages:aarch64-linux-master:mautrix-signal
ci/woodpecker/cron/update Pipeline was successful
Hydra emoji-volpeon-blobfox-flip Hydra build #41624 of nix-packages:aarch64-linux-master:emoji-volpeon-blobfox-flip
Hydra emoji-volpeon-fox Hydra build #41626 of nix-packages:aarch64-linux-master:emoji-volpeon-fox
Hydra emoji-volpeon-bunhd-flip Hydra build #41628 of nix-packages:aarch64-linux-master:emoji-volpeon-bunhd-flip
Hydra emoji-volpeon-raccoon Hydra build #41629 of nix-packages:aarch64-linux-master:emoji-volpeon-raccoon
Hydra hydra-unstable Hydra build #41630 of nix-packages:aarch64-linux-master:hydra-unstable
Hydra emoji-volpeon-bunhd Hydra build #41632 of nix-packages:aarch64-linux-master:emoji-volpeon-bunhd
Hydra emoji-volpeon-drgn Hydra build #41635 of nix-packages:aarch64-linux-master:emoji-volpeon-drgn
Hydra emoji-volpeon-gphn Hydra build #41637 of nix-packages:aarch64-linux-master:emoji-volpeon-gphn
Hydra lotte-art Hydra build #41639 of nix-packages:aarch64-linux-master:lotte-art
Hydra emoji-volpeon-blobfox Hydra build #41643 of nix-packages:aarch64-linux-master:emoji-volpeon-blobfox
Hydra hydra Hydra build #41645 of nix-packages:aarch64-linux-master:hydra
Hydra emoji-volpeon-vlpn Hydra build #41648 of nix-packages:aarch64-linux-master:emoji-volpeon-vlpn
Hydra plover Hydra build #41640 of nix-packages:aarch64-linux-master:plover
Hydra plover-plugin-emoji Hydra build #41631 of nix-packages:aarch64-linux-master:plover-plugin-emoji
Hydra plover-plugins-manager Hydra build #41646 of nix-packages:aarch64-linux-master:plover-plugins-manager
Hydra akkoma Hydra build #41647 of nix-packages:aarch64-linux-master:akkoma
Hydra plover-plugin-machine-hid Hydra build #41636 of nix-packages:aarch64-linux-master:plover-plugin-machine-hid
Hydra emoji-lotte Hydra build #41623 of nix-packages:aarch64-linux-master:emoji-lotte
Hydra plover-plugin-yaml-dictionary Hydra build #41642 of nix-packages:aarch64-linux-master:plover-plugin-yaml-dictionary
Hydra python-instagram Hydra build #41638 of nix-packages:aarch64-linux-master:python-instagram
Hydra plover-plugin-rkb1-hid Hydra build #41644 of nix-packages:aarch64-linux-master:plover-plugin-rkb1-hid
Hydra plover-plugin-tapey-tape Hydra build #41650 of nix-packages:aarch64-linux-master:plover-plugin-tapey-tape
Hydra papermc Hydra build #41651 of nix-packages:aarch64-linux-master:papermc
Hydra element-web Hydra build #41809 of nix-packages:x86_64-linux-master:element-web
Hydra woodpecker-frontend Hydra build #41810 of nix-packages:x86_64-linux-master:woodpecker-frontend
Hydra woodpecker-server Hydra build #41808 of nix-packages:x86_64-linux-master:woodpecker-server
Hydra emoji-caro Hydra build #41634 of nix-packages:aarch64-linux-master:emoji-caro
Hydra admin-fe Hydra build #41813 of nix-packages:aarch64-linux-master:admin-fe
Hydra pleroma-fe Hydra build #41814 of nix-packages:aarch64-linux-master:pleroma-fe
Some checks failed
ci/woodpecker/cron/update-lockfile Pipeline is pending
Hydra nasin-nanpa Hydra build #41625 of nix-packages:aarch64-linux-master:nasin-nanpa
Hydra python-mautrix Hydra build #41627 of nix-packages:aarch64-linux-master:python-mautrix
Hydra linux-bcachefs Hydra build #41633 of nix-packages:aarch64-linux-master:linux-bcachefs
Hydra mautrix-telegram Hydra build #41641 of nix-packages:aarch64-linux-master:mautrix-telegram
Hydra mautrix-signal Hydra build #41649 of nix-packages:aarch64-linux-master:mautrix-signal
ci/woodpecker/cron/update Pipeline was successful
Hydra emoji-volpeon-blobfox-flip Hydra build #41624 of nix-packages:aarch64-linux-master:emoji-volpeon-blobfox-flip
Hydra emoji-volpeon-fox Hydra build #41626 of nix-packages:aarch64-linux-master:emoji-volpeon-fox
Hydra emoji-volpeon-bunhd-flip Hydra build #41628 of nix-packages:aarch64-linux-master:emoji-volpeon-bunhd-flip
Hydra emoji-volpeon-raccoon Hydra build #41629 of nix-packages:aarch64-linux-master:emoji-volpeon-raccoon
Hydra hydra-unstable Hydra build #41630 of nix-packages:aarch64-linux-master:hydra-unstable
Hydra emoji-volpeon-bunhd Hydra build #41632 of nix-packages:aarch64-linux-master:emoji-volpeon-bunhd
Hydra emoji-volpeon-drgn Hydra build #41635 of nix-packages:aarch64-linux-master:emoji-volpeon-drgn
Hydra emoji-volpeon-gphn Hydra build #41637 of nix-packages:aarch64-linux-master:emoji-volpeon-gphn
Hydra lotte-art Hydra build #41639 of nix-packages:aarch64-linux-master:lotte-art
Hydra emoji-volpeon-blobfox Hydra build #41643 of nix-packages:aarch64-linux-master:emoji-volpeon-blobfox
Hydra hydra Hydra build #41645 of nix-packages:aarch64-linux-master:hydra
Hydra emoji-volpeon-vlpn Hydra build #41648 of nix-packages:aarch64-linux-master:emoji-volpeon-vlpn
Hydra plover Hydra build #41640 of nix-packages:aarch64-linux-master:plover
Hydra plover-plugin-emoji Hydra build #41631 of nix-packages:aarch64-linux-master:plover-plugin-emoji
Hydra plover-plugins-manager Hydra build #41646 of nix-packages:aarch64-linux-master:plover-plugins-manager
Hydra akkoma Hydra build #41647 of nix-packages:aarch64-linux-master:akkoma
Hydra plover-plugin-machine-hid Hydra build #41636 of nix-packages:aarch64-linux-master:plover-plugin-machine-hid
Hydra emoji-lotte Hydra build #41623 of nix-packages:aarch64-linux-master:emoji-lotte
Hydra plover-plugin-yaml-dictionary Hydra build #41642 of nix-packages:aarch64-linux-master:plover-plugin-yaml-dictionary
Hydra python-instagram Hydra build #41638 of nix-packages:aarch64-linux-master:python-instagram
Hydra plover-plugin-rkb1-hid Hydra build #41644 of nix-packages:aarch64-linux-master:plover-plugin-rkb1-hid
Hydra plover-plugin-tapey-tape Hydra build #41650 of nix-packages:aarch64-linux-master:plover-plugin-tapey-tape
Hydra papermc Hydra build #41651 of nix-packages:aarch64-linux-master:papermc
Hydra element-web Hydra build #41809 of nix-packages:x86_64-linux-master:element-web
Hydra woodpecker-frontend Hydra build #41810 of nix-packages:x86_64-linux-master:woodpecker-frontend
Hydra woodpecker-server Hydra build #41808 of nix-packages:x86_64-linux-master:woodpecker-server
Hydra emoji-caro Hydra build #41634 of nix-packages:aarch64-linux-master:emoji-caro
Hydra admin-fe Hydra build #41813 of nix-packages:aarch64-linux-master:admin-fe
Hydra pleroma-fe Hydra build #41814 of nix-packages:aarch64-linux-master:pleroma-fe
Reviewed-on: #197
This commit is contained in:
commit
4d7fa1d1bb
5 changed files with 46 additions and 0 deletions
|
@ -71,6 +71,7 @@ in
|
|||
wordpress-plugins
|
||||
wordpress-themes
|
||||
kubo
|
||||
linux-bcachefs
|
||||
;
|
||||
}
|
||||
// (
|
||||
|
|
|
@ -114,6 +114,7 @@
|
|||
wordpress-plugins
|
||||
wordpress-themes
|
||||
kubo
|
||||
linux-bcachefs
|
||||
;
|
||||
}
|
||||
// (
|
||||
|
|
32
linux/bcachefs/default.nix
Normal file
32
linux/bcachefs/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib,
|
||||
fetchFromGitHub,
|
||||
buildLinux,
|
||||
...
|
||||
} @ args:
|
||||
|
||||
let
|
||||
modDirVersion = "6.3.0";
|
||||
source = builtins.fromJSON (builtins.readFile ./source.json);
|
||||
in buildLinux (args // {
|
||||
inherit modDirVersion;
|
||||
version = "6.3.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;
|
||||
};
|
||||
passthru.updateScript = [
|
||||
../../scripts/update-git.sh
|
||||
"github.com/koverstreet/bcachefs"
|
||||
"linux/bcachefs/source.json"
|
||||
];
|
||||
})
|
11
linux/bcachefs/source.json
Normal file
11
linux/bcachefs/source.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/koverstreet/bcachefs",
|
||||
"rev": "799716df00709f7480f575e8fd626915bafba006",
|
||||
"date": "2023-05-14T23:01:14-04:00",
|
||||
"path": "/nix/store/mx6zdja6ii9g3pd7vzv9k4rnm4p4spqm-bcachefs",
|
||||
"sha256": "0zid3g15034nd5cwmn233kn6fjyphkax2nklzhb46sz2283gzkiv",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
|
@ -85,6 +85,7 @@ system: self: super: let
|
|||
wordpress-plugins = self.callPackage ./web/wordpress-plugins {};
|
||||
wordpress-themes = self.callPackage ./web/wordpress-themes {};
|
||||
kubo = self.callPackage ./ipfs/kubo {};
|
||||
linux-bcachefs = self.callPackage ./linux/bcachefs { kernelPatches = []; };
|
||||
})
|
||||
riscv-overlay
|
||||
];
|
||||
|
|
Reference in a new issue