diff options
author | Joris | 2016-02-22 11:55:47 +0100 |
---|---|---|
committer | Joris | 2016-02-22 11:55:47 +0100 |
commit | e66ea0b49c8f7202114df366668598026f211eba (patch) | |
tree | 698e57f45328f38a770de935ed0ab9bc39ebd832 /README.md | |
parent | e6269b6750d50c2f72bf534e32c020f0554705a7 (diff) | |
download | events-e66ea0b49c8f7202114df366668598026f211eba.tar.gz events-e66ea0b49c8f7202114df366668598026f211eba.tar.bz2 events-e66ea0b49c8f7202114df366668598026f211eba.zip |
Use nix to manage dependancies
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 |