tests: fix integration tests

This updates the integration tests so that they pass. Also prevent
auto-fixing some integration test files.
This commit is contained in:
Robert Helgesson 2026-06-19 11:05:57 +02:00
parent 153bad8fb5
commit 37f21dfa5d
4 changed files with 11 additions and 4 deletions

View file

@ -11,7 +11,7 @@
};
outputs =
inputs@{ nixpkgs, home-manager, ... }:
{ nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@ -24,7 +24,8 @@
# the path to your home.nix.
modules = [ ./home.nix ];
extraSpecialArgs = { inherit inputs; };
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
};
};
}

View file

@ -1,3 +1,5 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
@ -11,7 +13,7 @@
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "25.11"; # Please read the comment before changing.
home.stateVersion = "26.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.

View file

@ -1,3 +1,5 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
@ -11,7 +13,7 @@
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "25.11"; # Please read the comment before changing.
home.stateVersion = "26.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.

View file

@ -8,11 +8,13 @@ includes = [ "*.nix" ]
[formatter.statix]
command = "treefmt-statix"
includes = [ "*.nix" ]
excludes = [ "tests/integration/standalone/*-init.nix" ]
[formatter.deadnix]
command = "deadnix"
options = [ "--edit" ]
includes = [ "*.nix" ]
excludes = [ "tests/integration/standalone/*-init.nix" ]
[formatter.nixf-diagnose]
command = "nixf-diagnose"