1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-30 06:01:05 +01:00

tests/fetch-tests: only apply required args

Using `functionArgs` and `intersectAttrs`, apply only the required args
to test module files.
This commit is contained in:
Matt Sturgeon 2025-11-24 08:18:30 +00:00
parent 12fd9ee1c8
commit 824e048096
67 changed files with 71 additions and 77 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs }:
# Fails on darwin with:
# E5113: Error while calling lua chunk: ...ckages/start/netman.nvim/lua/netman/tools/utils/init.lua:52: Unable to open netman utils cache
pkgs.lib.optionalAttrs (!pkgs.stdenv.isDarwin) {