summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2022-05-21 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2022-05-21 12:00:00 +0000
commit5a0577265e7c644603a42da0fe7f907b199d57e4 (patch)
tree395ae650cf77a82ea78a77c7bf5fc872b09d49ce
parent98bcd08cb1778d103bac1149621b3568014aadbd (diff)
downloadnixpkgs-5a0577265e7c644603a42da0fe7f907b199d57e4.tar
nixpkgs-5a0577265e7c644603a42da0fe7f907b199d57e4.tar.gz
nixpkgs-5a0577265e7c644603a42da0fe7f907b199d57e4.tar.bz2
nixpkgs-5a0577265e7c644603a42da0fe7f907b199d57e4.tar.lz
nixpkgs-5a0577265e7c644603a42da0fe7f907b199d57e4.tar.xz
nixpkgs-5a0577265e7c644603a42da0fe7f907b199d57e4.tar.zst
nixpkgs-5a0577265e7c644603a42da0fe7f907b199d57e4.zip
nixos/tests/ihatemoney: fix test
ihm blocks on smtpd accepting the email
-rw-r--r--nixos/tests/ihatemoney/default.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/nixos/tests/ihatemoney/default.nix b/nixos/tests/ihatemoney/default.nix
index cd5f073343d..894a97d43d3 100644
--- a/nixos/tests/ihatemoney/default.nix
+++ b/nixos/tests/ihatemoney/default.nix
@@ -32,14 +32,7 @@ let
         };
       };
       # ihatemoney needs a local smtp server otherwise project creation just crashes
-      services.opensmtpd = {
-        enable = true;
-        serverConfiguration = ''
-          listen on lo
-          action foo relay
-          match from any for any action foo
-        '';
-      };
+      services.postfix.enable = true;
     };
     testScript = ''
       machine.wait_for_open_port(8000)