1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-06 16:57:03 +00:00

tests/neovim: resolve deprecation (#6522)

Assigning a plain list to extraLuaPackages is deprecated.
                           Please assign a function taking a package set
as argument, so
                             extraLuaPackages = [ pkgs.lua51Packages.xxx
];
                           should become
                             extraLuaPackages = ps: [ ps.xxx ];
This commit is contained in:
Austin Horstman 2025-02-23 13:53:17 -08:00 committed by GitHub
parent 6a2af4ffb2
commit 12e26a74e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ lib.mkIf config.test.enableBig {
''; '';
} }
]; ];
extraLuaPackages = [ pkgs.lua51Packages.luautf8 ]; extraLuaPackages = ps: [ ps.luautf8 ];
}; };
_module.args.pkgs = lib.mkForce realPkgs; _module.args.pkgs = lib.mkForce realPkgs;