From bf893ad4cbf46610dd1b620c974f824e266cd1df Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 13 Jul 2025 09:53:04 +0200 Subject: [PATCH] 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. --- tests/integration/standalone/alice-home-init.nix | 2 ++ tests/integration/standalone/home-with-symbols-init.nix | 2 ++ treefmt.toml | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/tests/integration/standalone/alice-home-init.nix b/tests/integration/standalone/alice-home-init.nix index 946ddd4f8..6a21e324d 100644 --- a/tests/integration/standalone/alice-home-init.nix +++ b/tests/integration/standalone/alice-home-init.nix @@ -1,3 +1,5 @@ +{ config, pkgs, ... }: + { # Home Manager needs a bit of information about you and the paths it should # manage. diff --git a/tests/integration/standalone/home-with-symbols-init.nix b/tests/integration/standalone/home-with-symbols-init.nix index 5506041fc..0574a4f03 100644 --- a/tests/integration/standalone/home-with-symbols-init.nix +++ b/tests/integration/standalone/home-with-symbols-init.nix @@ -1,3 +1,5 @@ +{ config, pkgs, ... }: + { # Home Manager needs a bit of information about you and the paths it should # manage. diff --git a/treefmt.toml b/treefmt.toml index a6569fa2b..1e1d7f804 100644 --- a/treefmt.toml +++ b/treefmt.toml @@ -9,6 +9,10 @@ includes = [ "*.nix" ] command = "deadnix" options = [ "--edit", "--no-lambda-arg" ] includes = [ "*.nix" ] +excludes = [ + "tests/integration/standalone/alice-home-init.nix", + "tests/integration/standalone/home-with-symbols-init.nix" +] [formatter.keep-sorted] command = "keep-sorted"