lib/tests: simplify access to default system

This commit is contained in:
Matt Sturgeon 2024-12-23 15:43:08 +00:00
parent 9bf4c9d55b
commit 3172e48dbb
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 11 additions and 7 deletions

View file

@ -27,7 +27,9 @@
{ pkgs, system, ... }:
{
# NOTE: this is the publicly documented flake output we've had for a while
check = pkgs.callPackage ../lib/tests.nix { inherit self; };
check = pkgs.callPackage ../lib/tests.nix {
inherit lib self system;
};
# NOTE: no longer needs to be per-system
helpers = lib.warn "nixvim: `<nixvim>.lib.${system}.helpers` has been moved to `<nixvim>.lib.nixvim` and no longer depends on a specific system" self.lib.nixvim;