diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-04-13 19:55:30 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-04-13 19:55:30 +0200 |
commit | 38947ff188f38e6df2104de013ba1d36f8d53571 (patch) | |
tree | 1b7dd1d66b0c8a7ad416d4c7ef015ed31329f4a8 | |
parent | 543a4b1f4b46ecce666dfeff400cc4101b466c81 (diff) | |
download | nixos-38947ff188f38e6df2104de013ba1d36f8d53571.tar nixos-38947ff188f38e6df2104de013ba1d36f8d53571.tar.gz nixos-38947ff188f38e6df2104de013ba1d36f8d53571.tar.bz2 nixos-38947ff188f38e6df2104de013ba1d36f8d53571.tar.xz nixos-38947ff188f38e6df2104de013ba1d36f8d53571.zip |
Notify bar startup
-rw-r--r-- | bragi.nix | 2 | ||||
-rw-r--r-- | bragi/bar/generated.nix | 10 |
2 files changed, 6 insertions, 6 deletions
@@ -318,7 +318,7 @@ in rec { | |||
318 | requires = [ "postgresql.service" ]; | 318 | requires = [ "postgresql.service" ]; |
319 | wantedBy = [ "default.target" ]; | 319 | wantedBy = [ "default.target" ]; |
320 | serviceConfig = { | 320 | serviceConfig = { |
321 | Type = "simple"; | 321 | Type = "notify"; |
322 | ExecStart = '' | 322 | ExecStart = '' |
323 | ${pkgs.callPackage ./bragi/bar {}}/bin/bar | 323 | ${pkgs.callPackage ./bragi/bar {}}/bin/bar |
324 | ''; | 324 | ''; |
diff --git a/bragi/bar/generated.nix b/bragi/bar/generated.nix index 25fe82d8..ae51c5b3 100644 --- a/bragi/bar/generated.nix +++ b/bragi/bar/generated.nix | |||
@@ -4,17 +4,17 @@ | |||
4 | , fetchgit, file-embed, hashids, hjsmin, http-conduit, lens | 4 | , fetchgit, file-embed, hashids, hjsmin, http-conduit, lens |
5 | , monad-control, monad-logger, mtl, persistent | 5 | , monad-control, monad-logger, mtl, persistent |
6 | , persistent-postgresql, persistent-template, safe, shakespeare | 6 | , persistent-postgresql, persistent-template, safe, shakespeare |
7 | , stdenv, template-haskell, text, thermoprint-client, time | 7 | , stdenv, systemd, template-haskell, text, thermoprint-client, time |
8 | , unordered-containers, vector, wai, wai-extra, wai-logger, warp | 8 | , unordered-containers, vector, wai, wai-extra, wai-logger, warp |
9 | , yaml, yesod, yesod-auth, yesod-core, yesod-form, yesod-static | 9 | , yaml, yesod, yesod-auth, yesod-core, yesod-form, yesod-static |
10 | }: | 10 | }: |
11 | mkDerivation { | 11 | mkDerivation { |
12 | pname = "bar"; | 12 | pname = "bar"; |
13 | version = "0.4.1"; | 13 | version = "0.4.2"; |
14 | src = fetchgit { | 14 | src = fetchgit { |
15 | url = "git://git.yggdrasil.li/gkleen/pub/bar"; | 15 | url = "git://git.yggdrasil.li/gkleen/pub/bar"; |
16 | sha256 = "003j576jvpnd21z3m0wv89gaap03c0m317i7k2zr4fzh7s1jhbnn"; | 16 | sha256 = "0ai0hlw972dm5dmw3n247r4h98xng605s6zpv2a6d2dx60bjizcv"; |
17 | rev = "e3227f80fe775acd1bd5bf7ad672bdf687787a6f"; | 17 | rev = "faf009aca16ba1e384fd5da2d6306d1379e36de3"; |
18 | }; | 18 | }; |
19 | isLibrary = true; | 19 | isLibrary = true; |
20 | isExecutable = true; | 20 | isExecutable = true; |
@@ -23,7 +23,7 @@ mkDerivation { | |||
23 | classy-prelude-conduit classy-prelude-yesod conduit containers | 23 | classy-prelude-conduit classy-prelude-yesod conduit containers |
24 | data-default directory fast-logger file-embed hashids hjsmin | 24 | data-default directory fast-logger file-embed hashids hjsmin |
25 | http-conduit lens monad-control monad-logger mtl persistent | 25 | http-conduit lens monad-control monad-logger mtl persistent |
26 | persistent-postgresql persistent-template safe shakespeare | 26 | persistent-postgresql persistent-template safe shakespeare systemd |
27 | template-haskell text thermoprint-client time unordered-containers | 27 | template-haskell text thermoprint-client time unordered-containers |
28 | vector wai wai-extra wai-logger warp yaml yesod yesod-auth | 28 | vector wai wai-extra wai-logger warp yaml yesod yesod-auth |
29 | yesod-core yesod-form yesod-static | 29 | yesod-core yesod-form yesod-static |