feat(xatu): report deprecated toPath calls
This commit was merged in pull request #75.
This commit is contained in:
7
src/xatu/testdata/clean.nix
vendored
7
src/xatu/testdata/clean.nix
vendored
@@ -1 +1,6 @@
|
||||
{ inherit foo; }
|
||||
{ pkgs }:
|
||||
|
||||
{
|
||||
path = ./. + "/foo";
|
||||
inherit pkgs;
|
||||
}
|
||||
|
||||
1
src/xatu/testdata/empty_inherit.nix
vendored
1
src/xatu/testdata/empty_inherit.nix
vendored
@@ -1 +0,0 @@
|
||||
{ inherit; }
|
||||
3
src/xatu/testdata/invalid.nix
vendored
3
src/xatu/testdata/invalid.nix
vendored
@@ -1 +1,4 @@
|
||||
{ pkgs }:
|
||||
|
||||
{
|
||||
inherit pkgs;
|
||||
|
||||
6
src/xatu/testdata/lint_findings.nix
vendored
Normal file
6
src/xatu/testdata/lint_findings.nix
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{ src }:
|
||||
|
||||
{
|
||||
inherit;
|
||||
path = builtins.toPath src;
|
||||
}
|
||||
5
src/xatu/testdata/lint_variants.nix
vendored
Normal file
5
src/xatu/testdata/lint_variants.nix
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{ src }:
|
||||
|
||||
{
|
||||
path = toPath src;
|
||||
}
|
||||
Reference in New Issue
Block a user