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.
This commit is contained in:
Austin Horstman
2026-09-11 22:16:45 -05:00
parent f06a5c6838
commit 4b14cf08ff

View File

@@ -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;