2024-03-13 00:20:41 +01:00
|
|
|
modulePath:
|
|
|
|
{ config, lib, ... }:
|
2021-05-14 21:06:54 +02:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2024-03-13 00:20:41 +01:00
|
|
|
let
|
2021-06-23 00:19:41 +02:00
|
|
|
|
2024-03-13 00:20:41 +01:00
|
|
|
moduleName = concatStringsSep "." modulePath;
|
2021-05-14 21:06:54 +02:00
|
|
|
|
2024-03-13 00:20:41 +01:00
|
|
|
firefoxMockOverlay = import ./setup-firefox-mock-overlay.nix modulePath;
|
|
|
|
|
|
|
|
in {
|
|
|
|
imports = [ firefoxMockOverlay ];
|
|
|
|
|
|
|
|
config = mkIf config.test.enableBig (setAttrByPath modulePath {
|
|
|
|
enable = true;
|
|
|
|
enableGnomeExtensions = true;
|
|
|
|
} // {
|
2023-10-13 08:33:10 +02:00
|
|
|
test.asserts.warnings.expected = [''
|
2024-03-13 00:20:41 +01:00
|
|
|
Using '${moduleName}.enableGnomeExtensions' has been deprecated and
|
2023-10-13 08:33:10 +02:00
|
|
|
will be removed in the future. Please change to overriding the package
|
2024-03-13 00:20:41 +01:00
|
|
|
configuration using '${moduleName}.package' instead. You can refer to
|
2023-10-13 08:33:10 +02:00
|
|
|
its example for how to do this.
|
|
|
|
''];
|
2024-03-13 00:20:41 +01:00
|
|
|
});
|
2021-05-14 21:06:54 +02:00
|
|
|
}
|