lib/tests.nix: fix infinite recursion in args

This commit is contained in:
Matt Sturgeon 2024-08-25 16:13:23 +01:00
parent 665680a5ca
commit fa2058970c
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -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