flake: warn when lib.<system>.helpers is used

This commit is contained in:
Matt Sturgeon 2024-12-21 13:43:59 +00:00
parent 4b3b67fb6f
commit d39a09d05d
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -21,13 +21,13 @@
} }
// lib.genAttrs config.systems ( // lib.genAttrs config.systems (
lib.flip withSystem ( lib.flip withSystem (
{ pkgs, ... }: { pkgs, system, ... }:
{ {
# NOTE: this is the publicly documented flake output we've had for a while # 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 self; };
# NOTE: no longer needs to be per-system # NOTE: no longer needs to be per-system
helpers = self.lib.nixvim; 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;
} }
) )
); );