From 310797ccb1c6ec759590108ad681308c23481810 Mon Sep 17 00:00:00 2001 From: Andrew Bryant Date: Fri, 14 Aug 2026 16:05:49 -0400 Subject: [PATCH] tests/default.nix: removed system.stateVersion declaration Having the declaration of system.stateVersion just adds more maintainance for devs. For example, changing the nixpkgs value in flake.nix requires a change of system.stateVersion in tests/default.nix. --- flake.nix | 2 +- tests/default.nix | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index bc32b3e..8c137c1 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "An Invoice Ninja package and module."; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; outputs = { self, nixpkgs, nix, }: diff --git a/tests/default.nix b/tests/default.nix index 1274983..cbae60b 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -6,8 +6,6 @@ ../nixos-module/invoiceninja.nix ]; - system.stateVersion = "25.11"; - nixpkgs.config.allowUnfree = true; users.users.test = {