···1011- `screen`'s module has been cleaned, and will now require you to set `programs.screen.enable` in order to populate `screenrc` and add the program to the environment.
1213-- `linuxPackages_testing_bcachefs` is now fully deprecated by `linuxPackages_testing`, and is therefore no longer available.
1415- NixOS now installs a stub ELF loader that prints an informative error message when users attempt to run binaries not made for NixOS.
16 - This can be disabled through the `environment.stub-ld.enable` option.
···1011- `screen`'s module has been cleaned, and will now require you to set `programs.screen.enable` in order to populate `screenrc` and add the program to the environment.
1213+- `linuxPackages_testing_bcachefs` is now fully deprecated by `linuxPackages_latest`, and is therefore no longer available.
1415- NixOS now installs a stub ELF loader that prints an informative error message when users attempt to run binaries not made for NixOS.
16 - This can be disabled through the `environment.stub-ld.enable` option.
···86# Function for waiting for device(s) to appear.
87waitDevice() {
88 local device="$1"
89- # Split device string using ':' as a delimiter as bcachefs
90- # uses this for multi-device filesystems, i.e. /dev/sda1:/dev/sda2:/dev/sda3
91- local IFS=':'
000009293 # USB storage devices tend to appear with some delay. It would be
94 # great if we had a way to synchronously wait for them, but
···86# Function for waiting for device(s) to appear.
87waitDevice() {
88 local device="$1"
89+ # Split device string using ':' as a delimiter, bcachefs uses
90+ # this for multi-device filesystems, i.e. /dev/sda1:/dev/sda2:/dev/sda3
91+ local IFS
92+93+ # bcachefs is the only known use for this at the moment
94+ # Preferably, the 'UUID=' syntax should be enforced, but
95+ # this is kept for compatibility reasons
96+ if [ "$fsType" = bcachefs ]; then IFS=':'; fi
9798 # USB storage devices tend to appear with some delay. It would be
99 # great if we had a way to synchronously wait for them, but
+7-2
nixos/modules/tasks/filesystems/bcachefs.nix
···123 inherit assertions;
124 # needed for systemd-remount-fs
125 system.fsPackages = [ pkgs.bcachefs-tools ];
126- # FIXME: Remove this line when the default kernel has bcachefs
127 boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
128- systemd.services = lib.mapAttrs' (mkUnits "") (lib.filterAttrs (n: fs: (fs.fsType == "bcachefs") && (!utils.fsNeededForBoot fs)) config.fileSystems);
00000129 }
130131 (lib.mkIf ((lib.elem "bcachefs" config.boot.initrd.supportedFilesystems) || (bootFs != {})) {
···123 inherit assertions;
124 # needed for systemd-remount-fs
125 system.fsPackages = [ pkgs.bcachefs-tools ];
126+ # FIXME: Remove this line when the LTS (default) kernel is at least version 6.7
127 boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
128+ services.udev.packages = [ pkgs.bcachefs-tools ];
129+130+ systemd = {
131+ packages = [ pkgs.bcachefs-tools ];
132+ services = lib.mapAttrs' (mkUnits "") (lib.filterAttrs (n: fs: (fs.fsType == "bcachefs") && (!utils.fsNeededForBoot fs)) config.fileSystems);
133+ };
134 }
135136 (lib.mkIf ((lib.elem "bcachefs" config.boot.initrd.supportedFilesystems) || (bootFs != {})) {
···2, fetchFromGitHub
3, sudachidict
4, setuptools
05}:
67buildPythonPackage rec {
···3132 nativeBuildInputs = [
33 setuptools
000034 ];
3536 # we need to prepare some files before the build
···2, fetchFromGitHub
3, sudachidict
4, setuptools
5+, sudachipy
6}:
78buildPythonPackage rec {
···3233 nativeBuildInputs = [
34 setuptools
35+ ];
36+37+ propagatedBuildInputs = [
38+ sudachipy
39 ];
4041 # we need to prepare some files before the build
···616 '';
617 linux_latest_hardened = linuxPackages_latest_hardened;
618619- # Added 2023-11-18
620- linuxPackages_testing_bcachefs = throw "'linuxPackages_testing_bcachefs' has been removed, please use 'linuxPackages_testing', or any other linux kernel with bcachefs support";
621- linux_testing_bcachefs = throw "'linux_testing_bcachefs' has been removed, please use 'linux_testing', or any other linux kernel with bcachefs support";
622623 lld_6 = throw "lld_6 has been removed from nixpkgs"; # Added 2024-01-08
624 lld_7 = throw "lld_7 has been removed from nixpkgs"; # Added 2023-11-19
···616 '';
617 linux_latest_hardened = linuxPackages_latest_hardened;
618619+ # Added 2023-11-18, modified 2024-01-09
620+ linuxPackages_testing_bcachefs = throw "'linuxPackages_testing_bcachefs' has been removed, please use 'linuxPackages_latest', any kernel version at least 6.7, or any other linux kernel with bcachefs support";
621+ linux_testing_bcachefs = throw "'linux_testing_bcachefs' has been removed, please use 'linux_latest', any kernel version at least 6.7, or any other linux kernel with bcachefs support";
622623 lld_6 = throw "lld_6 has been removed from nixpkgs"; # Added 2024-01-08
624 lld_7 = throw "lld_7 has been removed from nixpkgs"; # Added 2023-11-19