From 34d75943ede23827a4c0cd5ee4e4a5c957ede166 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 12 Jun 2024 14:48:35 +0200 Subject: [PATCH] plugins/neotest/adapters/playwright: temporarily enable telescope when this adapter is used https://github.com/NixOS/nixpkgs/pull/319314 --- plugins/neotest/adapters.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/neotest/adapters.nix b/plugins/neotest/adapters.nix index ffeb0546..7578e281 100644 --- a/plugins/neotest/adapters.nix +++ b/plugins/neotest/adapters.nix @@ -48,5 +48,10 @@ let }; in { - imports = mapAttrsToList mkAdapter supportedAdapters; + imports = (mapAttrsToList mkAdapter supportedAdapters) ++ [ + # TODO: Remove when https://github.com/NixOS/nixpkgs/pull/319314 reaches `nixos-unstable` + (mkIf config.plugins.neotest.adapters.playwright.enable { + plugins.telescope.enable = mkDefault true; + }) + ]; }