From ae61c38e7b662d51bca294f03a30f764da284d39 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 7 Apr 2025 12:43:41 +0200 Subject: [PATCH] jupyter: lib.any -> lib.elem --- pkgs/applications/editors/jupyter/kernel.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/jupyter/kernel.nix b/pkgs/applications/editors/jupyter/kernel.nix index 4496b943997b..2a72d84c47f7 100644 --- a/pkgs/applications/editors/jupyter/kernel.nix +++ b/pkgs/applications/editors/jupyter/kernel.nix @@ -62,7 +62,7 @@ in "logo64" "extraPaths" ]; - kernel = lib.filterAttrs (n: v: (lib.any (x: x == n) allowedKernelKeys)) unfilteredKernel; + kernel = lib.filterAttrs (n: v: (lib.elem n allowedKernelKeys)) unfilteredKernel; config = builtins.toJSON ( kernel // {