Skip to content

Commit bf893ad

Browse files
committed
tests: re-add module argument
These were removed as part of dead code removal, but they are actually needed in the integration tests for comparing with the configuration generated by the installation.
1 parent fc25398 commit bf893ad

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

tests/integration/standalone/alice-home-init.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{ config, pkgs, ... }:
2+
13
{
24
# Home Manager needs a bit of information about you and the paths it should
35
# manage.

tests/integration/standalone/home-with-symbols-init.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{ config, pkgs, ... }:
2+
13
{
24
# Home Manager needs a bit of information about you and the paths it should
35
# manage.

treefmt.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ includes = [ "*.nix" ]
99
command = "deadnix"
1010
options = [ "--edit", "--no-lambda-arg" ]
1111
includes = [ "*.nix" ]
12+
excludes = [
13+
"tests/integration/standalone/alice-home-init.nix",
14+
"tests/integration/standalone/home-with-symbols-init.nix"
15+
]
1216

1317
[formatter.keep-sorted]
1418
command = "keep-sorted"

0 commit comments

Comments
 (0)