summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-02 16:34:07 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-02 16:34:07 +0200
commitc6ab48f26d680dd943ef92eb207309bdffc46c01 (patch)
tree5cff0ba79321651a6b19dafe9434d2cddb343da1 /custom
parent54a215a5e799d362dbb2ab3baf6b9376d71aa06b (diff)
downloadnixos-c6ab48f26d680dd943ef92eb207309bdffc46c01.tar
nixos-c6ab48f26d680dd943ef92eb207309bdffc46c01.tar.gz
nixos-c6ab48f26d680dd943ef92eb207309bdffc46c01.tar.bz2
nixos-c6ab48f26d680dd943ef92eb207309bdffc46c01.tar.xz
nixos-c6ab48f26d680dd943ef92eb207309bdffc46c01.zip
maybe link libnotify?
Diffstat (limited to 'custom')
-rw-r--r--custom/notify-user.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/custom/notify-user.nix b/custom/notify-user.nix
index 58beebf7..df559fb1 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,8 +36,9 @@ 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 ];
39 buildPhase = '' 40 buildPhase = ''
40 ${ghcWithPackages (p: with p; [ Glob process libnotify ])}/bin/ghc -odir . -hidir . $src -o notify-${user} 41 ${ghcWithPackages (p: with p; [ Glob process libnotify ])}/bin/ghc -odir . -hidir . $src -o notify-${user} -lnotify
41 ''; 42 '';
42 installPhase = '' 43 installPhase = ''
43 mkdir -p $out/bin 44 mkdir -p $out/bin