mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
lib/tests.nix: fix infinite recursion in args
This commit is contained in:
parent
665680a5ca
commit
fa2058970c
1 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
defaultPkgs = pkgs;
|
||||||
|
|
||||||
# Create a nix derivation from a nixvim executable.
|
# Create a nix derivation from a nixvim executable.
|
||||||
# The build phase simply consists in running the provided nvim binary.
|
# The build phase simply consists in running the provided nvim binary.
|
||||||
mkTestDerivationFromNvim =
|
mkTestDerivationFromNvim =
|
||||||
|
@ -35,7 +37,7 @@ let
|
||||||
mkTestDerivationFromNixvimModule =
|
mkTestDerivationFromNixvimModule =
|
||||||
{
|
{
|
||||||
name ? null,
|
name ? null,
|
||||||
pkgs ? pkgs,
|
pkgs ? defaultPkgs,
|
||||||
module,
|
module,
|
||||||
extraSpecialArgs ? { },
|
extraSpecialArgs ? { },
|
||||||
# TODO: Deprecated 2024-08-20, remove after 24.11
|
# TODO: Deprecated 2024-08-20, remove after 24.11
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue