diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-02 16:36:32 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-02 16:36:32 +0200 |
commit | 1a985428485065f419126f52fd05902043f9e5be (patch) | |
tree | c5502ddbdc8b6c2a4dcd59c651cd002fc793a944 | |
parent | c6ab48f26d680dd943ef92eb207309bdffc46c01 (diff) | |
download | nixos-1a985428485065f419126f52fd05902043f9e5be.tar nixos-1a985428485065f419126f52fd05902043f9e5be.tar.gz nixos-1a985428485065f419126f52fd05902043f9e5be.tar.bz2 nixos-1a985428485065f419126f52fd05902043f9e5be.tar.xz nixos-1a985428485065f419126f52fd05902043f9e5be.zip |
Revert "maybe link libnotify?"
This reverts commit c6ab48f26d680dd943ef92eb207309bdffc46c01.
-rw-r--r-- | custom/notify-user.nix | 5 |
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 | ||
7 | stdenv.mkDerivation { | 7 | stdenv.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 |