From fa2058970c90bc636454e8d172aed5b43547507c Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 25 Aug 2024 16:13:23 +0100 Subject: [PATCH] lib/tests.nix: fix infinite recursion in args --- lib/tests.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tests.nix b/lib/tests.nix index 182c79d7..01f4607d 100644 --- a/lib/tests.nix +++ b/lib/tests.nix @@ -4,6 +4,8 @@ ... }: let + defaultPkgs = pkgs; + # Create a nix derivation from a nixvim executable. # The build phase simply consists in running the provided nvim binary. mkTestDerivationFromNvim = @@ -35,7 +37,7 @@ let mkTestDerivationFromNixvimModule = { name ? null, - pkgs ? pkgs, + pkgs ? defaultPkgs, module, extraSpecialArgs ? { }, # TODO: Deprecated 2024-08-20, remove after 24.11