From e66ea0b49c8f7202114df366668598026f211eba Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 22 Feb 2016 11:55:47 +0100 Subject: Use nix to manage dependancies --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3