feat(xatu): report deprecated toPath calls

This commit was merged in pull request #75.
This commit is contained in:
2026-09-19 15:17:38 -04:00
parent 6887b104d6
commit addcf7ca8e
13 changed files with 307 additions and 94 deletions

View File

@@ -1 +1,6 @@
{ inherit foo; }
{ pkgs }:
{
path = ./. + "/foo";
inherit pkgs;
}

View File

@@ -1 +0,0 @@
{ inherit; }

View File

@@ -1 +1,4 @@
{ pkgs }:
{
inherit pkgs;

6
src/xatu/testdata/lint_findings.nix vendored Normal file
View File

@@ -0,0 +1,6 @@
{ src }:
{
inherit;
path = builtins.toPath src;
}

5
src/xatu/testdata/lint_variants.nix vendored Normal file
View File

@@ -0,0 +1,5 @@
{ src }:
{
path = toPath src;
}