1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

lieer: remove package dependency in tests

This commit is contained in:
Robert Helgesson 2020-03-07 15:31:07 +01:00
parent 9f46d516fa
commit 5c1e7349bb
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 7 additions and 1 deletions

View file

@ -13,6 +13,10 @@ with lib;
accounts.email.accounts = { "hm@example.com".lieer.enable = true; };
nixpkgs.overlays = [
(self: super: { gmailieer = pkgs.writeScriptBin "dummy-gmailieer" ""; })
];
nmt.script = ''
assertFileExists home-files/Mail/hm@example.com/.gmailieer.json
assertFileContent home-files/Mail/hm@example.com/.gmailieer.json \

View file

@ -18,7 +18,9 @@ with lib;
nixpkgs.overlays = [
(self: super: {
gmailieer = super.gmailieer // { outPath = "@lieer@"; };
gmailieer = pkgs.writeScriptBin "dummy-gmailieer" "" // {
outPath = "@lieer@";
};
})
];