mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 14:40:29 +00:00
lieer: remove package dependency in tests
This commit is contained in:
parent
9f46d516fa
commit
5c1e7349bb
2 changed files with 7 additions and 1 deletions
|
@ -13,6 +13,10 @@ with lib;
|
||||||
|
|
||||||
accounts.email.accounts = { "hm@example.com".lieer.enable = true; };
|
accounts.email.accounts = { "hm@example.com".lieer.enable = true; };
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: { gmailieer = pkgs.writeScriptBin "dummy-gmailieer" ""; })
|
||||||
|
];
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
assertFileExists home-files/Mail/hm@example.com/.gmailieer.json
|
assertFileExists home-files/Mail/hm@example.com/.gmailieer.json
|
||||||
assertFileContent home-files/Mail/hm@example.com/.gmailieer.json \
|
assertFileContent home-files/Mail/hm@example.com/.gmailieer.json \
|
||||||
|
|
|
@ -18,7 +18,9 @@ with lib;
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(self: super: {
|
(self: super: {
|
||||||
gmailieer = super.gmailieer // { outPath = "@lieer@"; };
|
gmailieer = pkgs.writeScriptBin "dummy-gmailieer" "" // {
|
||||||
|
outPath = "@lieer@";
|
||||||
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue