summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-11-23 19:08:57 +1300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-23 15:53:52 +0000
commit86b9120436fa1d51d1764b94afe93512b6636090 (patch)
treedc74264f64a9e21f6f1762cf0bd71fc8d48b347e
parentMerge pull request #269451 from NixOS/backport-267545-to-release-23.11 (diff)
downloadnixpkgs-origin/backport-269381-to-release-23.11.tar.gz
bcachefs: fix lib.kernel.option miss use.origin/backport-269381-to-release-23.11
option is a function not a set. (cherry picked from commit 34a58ce86ff61f35c839f8f776036259d59e3c84)
-rw-r--r--nixos/modules/tasks/filesystems/bcachefs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/bcachefs.nix b/nixos/modules/tasks/filesystems/bcachefs.nix
index d144ce62dc27..c002a4fee116 100644
--- a/nixos/modules/tasks/filesystems/bcachefs.nix
+++ b/nixos/modules/tasks/filesystems/bcachefs.nix
@@ -97,7 +97,7 @@ let
lib.elem (kernel.structuredExtraConfig.BCACHEFS_FS or null) [
lib.kernel.module
lib.kernel.yes
- lib.kernel.option.yes
+ (lib.kernel.option lib.kernel.yes)
]
)
);