Skip to content

Commit

Permalink
flake: warn when lib.<system>.helpers is used
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Dec 21, 2024
1 parent 4b3b67f commit d39a09d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake-modules/lib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
}
// lib.genAttrs config.systems (
lib.flip withSystem (
{ pkgs, ... }:
{ pkgs, system, ... }:
{
# NOTE: this is the publicly documented flake output we've had for a while
check = pkgs.callPackage ../lib/tests.nix { inherit self; };

# 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;
}
)
);
Expand Down

0 comments on commit d39a09d

Please sign in to comment.