Skip to content

Commit

Permalink
lieer: remove package dependency in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed Mar 8, 2020
1 parent 9f46d51 commit 5c1e734
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/modules/programs/lieer/lieer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ with lib;

accounts.email.accounts = { "[email protected]".lieer.enable = true; };

nixpkgs.overlays = [
(self: super: { gmailieer = pkgs.writeScriptBin "dummy-gmailieer" ""; })
];

nmt.script = ''
assertFileExists home-files/Mail/[email protected]/.gmailieer.json
assertFileContent home-files/Mail/[email protected]/.gmailieer.json \
Expand Down
4 changes: 3 additions & 1 deletion tests/modules/services/lieer/lieer-service.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ with lib;

nixpkgs.overlays = [
(self: super: {
gmailieer = super.gmailieer // { outPath = "@lieer@"; };
gmailieer = pkgs.writeScriptBin "dummy-gmailieer" "" // {
outPath = "@lieer@";
};
})
];

Expand Down

0 comments on commit 5c1e734

Please sign in to comment.