aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoris2016-02-22 11:55:47 +0100
committerJoris2016-02-22 11:55:47 +0100
commite66ea0b49c8f7202114df366668598026f211eba (patch)
tree698e57f45328f38a770de935ed0ab9bc39ebd832 /README.md
parente6269b6750d50c2f72bf534e32c020f0554705a7 (diff)
downloadevents-e66ea0b49c8f7202114df366668598026f211eba.tar.gz
events-e66ea0b49c8f7202114df366668598026f211eba.tar.bz2
events-e66ea0b49c8f7202114df366668598026f211eba.zip
Use nix to manage dependancies
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