From 4b14cf08ff3da8a095b79f2d5eae4f7374cbc2ad Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Fri, 11 Sep 2026 22:16:45 -0500 Subject: [PATCH] firefox: use default paths in package identity test The Nixpkgs wrapper now applies appDataDir, so a custom configPath changes the Firefox and Floorp derivations. Test package identity with each browser default and leave custom paths to the config-path tests. --- tests/modules/programs/firefox/final-package.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tests/modules/programs/firefox/final-package.nix b/tests/modules/programs/firefox/final-package.nix index f26cae53e0..c5e734e9fd 100644 --- a/tests/modules/programs/firefox/final-package.nix +++ b/tests/modules/programs/firefox/final-package.nix @@ -2,7 +2,6 @@ modulePath: { config, lib, - pkgs, realPkgs, ... }: @@ -13,14 +12,9 @@ let in lib.mkIf config.test.enableBig ( - lib.setAttrByPath modulePath ( - { - enable = true; - } - // lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux { - configPath = ".mozilla/firefox"; - } - ) + lib.setAttrByPath modulePath { + enable = true; + } // { _module.args.pkgs = lib.mkForce realPkgs;