0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

linux_testing_bcachefs: fully deprecate in favor of 'linux_testing'

Follow-up to https://github.com/NixOS/nixpkgs/pull/267640 for 23.11 post-release
This commit is contained in:
Madoura 2023-11-18 16:47:02 -06:00
parent 8772aa52b6
commit 10207ea919
No known key found for this signature in database
GPG key ID: 9086473B4D809BD2
5 changed files with 5 additions and 67 deletions

View file

@ -122,15 +122,8 @@ in
inherit assertions;
# needed for systemd-remount-fs
system.fsPackages = [ pkgs.bcachefs-tools ];
# FIXME: Replace this with `linuxPackages_testing` after NixOS 23.11 is released
# FIXME: Replace this with `linuxPackages_latest` when 6.7 is released, remove this line when the LTS version is at least 6.7
boot.kernelPackages = lib.mkDefault (
# FIXME: Remove warning after NixOS 23.11 is released
lib.warn "Please upgrade to Linux 6.7-rc1 or later: 'linuxPackages_testing_bcachefs' is deprecated. Use 'boot.kernelPackages = pkgs.linuxPackages_testing;' to silence this warning"
pkgs.linuxPackages_testing_bcachefs
);
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_testing;
systemd.services = lib.mapAttrs' (mkUnits "") (lib.filterAttrs (n: fs: (fs.fsType == "bcachefs") && (!utils.fsNeededForBoot fs)) config.fileSystems);
}