mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user