tests: disable papis test on darwin

https://github.com/NixOS/nixpkgs/issues/408528
This commit is contained in:
Gaetan Lepage 2025-05-18 11:45:24 +02:00
parent 98d9c173fc
commit 563fdaeef9
2 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,7 @@
{
{ lib, pkgs, ... }:
# TODO: as of 2025-05-18, luajitPackages.luv is broken on darwin
# https://github.com/NixOS/nixpkgs/issues/408528
lib.optionalAttrs (!pkgs.stdenv.hostPlatform.isDarwin) {
empty = {
plugins.papis.enable = true;
};

View file

@ -35,6 +35,11 @@
]
++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [
"cmp_tabnine"
]
++ lib.optionals hostPlatform.isDarwin [
# TODO: as of 2025-05-18, luajitPackages.luv is broken on darwin
# https://github.com/NixOS/nixpkgs/issues/408528
"papis"
];
in
pipe config.cmpSourcePlugins [