We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d31db98 + 9db0bd4 commit 347b2b4Copy full SHA for 347b2b4
Guide/mail.markdown
@@ -12,12 +12,17 @@ IHP provides email sending functionality via the `ihp-mail` package. It's built
12
13
To use mail functionality, you need to add `ihp-mail` to your project dependencies.
14
15
-Add `ihp-mail` to your `<projectname>.cabal` file:
+Add `ihp-mail` to your `flake.nix` file:
16
17
-```cabal
18
-build-depends:
19
- ...
20
- , ihp-mail
+```nix
+haskellPackages = p: with p; [
+ # Haskell dependencies go here
+ p.ihp
21
+ cabal-install
22
+ base
23
+ wai
24
+ # Add this:
25
+ ihp-mail
26
```
27
28
After adding the dependency, rebuild your project with `devenv up` or restart the development server.
0 commit comments