mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-06 16:57:03 +00:00
tests: don't override scraping of nixpkgs for thunderbird suite
Instead, pick just the required packages to pass the tests. Note: we have to refer to real derivations because symlinkJoin assumes the passed derivation is a directory with files, otherwise it fails as: @thunderbird@: No such file or directory Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
parent
5f5ff39778
commit
63146593a9
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
# Confirm that both Firefox and Thunderbird can be configured at the same time.
|
||||
{ lib, realPkgs, ... }:
|
||||
lib.recursiveUpdate (import ./thunderbird.nix { inherit lib realPkgs; }) {
|
||||
programs.firefox.enable = true;
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
# Darwin doesn't support wrapped Firefox, using unwrapped instead
|
||||
package = realPkgs.firefox-unwrapped;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{ lib, realPkgs, ... }: {
|
||||
imports = [ ../../accounts/email-test-accounts.nix ];
|
||||
|
||||
_module.args.pkgs = lib.mkForce realPkgs;
|
||||
|
||||
accounts.email.accounts = {
|
||||
"hm@example.com" = {
|
||||
thunderbird = {
|
||||
|
|
Loading…
Add table
Reference in a new issue