summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/notify-user.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/custom/notify-user.nix b/custom/notify-user.nix
index df559fb1..58beebf7 100644
--- a/custom/notify-user.nix
+++ b/custom/notify-user.nix
@@ -1,7 +1,7 @@
1{ stdenv, writeTextFile 1{ stdenv, writeTextFile
2, ghcWithPackages 2, ghcWithPackages
3, user ? "gkleen" 3, user ? "gkleen"
4, libnotify 4# , libnotify
5}: 5}:
6 6
7stdenv.mkDerivation { 7stdenv.mkDerivation {
@@ -36,9 +36,8 @@ stdenv.mkDerivation {
36 trim = dropWhileEnd isSpace . dropWhile isSpace 36 trim = dropWhileEnd isSpace . dropWhile isSpace
37 ''; }; 37 ''; };
38 phases = [ "buildPhase" "installPhase" ]; 38 phases = [ "buildPhase" "installPhase" ];
39 bulidInputs = [ libnotify ];
40 buildPhase = '' 39 buildPhase = ''
41 ${ghcWithPackages (p: with p; [ Glob process libnotify ])}/bin/ghc -odir . -hidir . $src -o notify-${user} -lnotify 40 ${ghcWithPackages (p: with p; [ Glob process libnotify ])}/bin/ghc -odir . -hidir . $src -o notify-${user}
42 ''; 41 '';
43 installPhase = '' 42 installPhase = ''
44 mkdir -p $out/bin 43 mkdir -p $out/bin