aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index 148d4aa..41f4a36 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,12 @@ Birthday
Notify by email if there are any birthday today or next week. This program is
intended to be launched everyday.
+## Required dependencies
+
+- `cabal2nix`
+- `nix-shell`
+- `cabal-install`
+
Usage
-----
@@ -32,10 +38,9 @@ day-for-next-week-notification = Friday
Launch the following commands:
```
-cabal sandbox init
-cabal instal --only-dependencies
-cabal build
-./dist/build/birthday/birthday
+cabal2nix --shell . > shell.nix
+nix-shell -I ~ --command 'cabal configure'
+cabal run
```
Notification