diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-15 15:25:16 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-15 15:25:16 +0200 |
commit | 2cb80224e382e046e59d65137cd5403974a5759a (patch) | |
tree | ce2744b1843427768006c7d8e11e76e949a7923c | |
parent | b8821e100e0d8b02cde5392a2bb7d5f71428de87 (diff) | |
download | bar-master.tar bar-master.tar.gz bar-master.tar.bz2 bar-master.tar.xz bar-master.zip |
-rw-r--r-- | bar.nix | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -1,12 +1,11 @@ | |||
1 | { mkDerivation, aeson, base, bytestring, case-insensitive | 1 | { mkDerivation, aeson, base, bytestring, classy-prelude |
2 | , classy-prelude, classy-prelude-conduit, classy-prelude-yesod | 2 | , classy-prelude-yesod, conduit, containers, fast-logger |
3 | , conduit, containers, data-default, directory, fast-logger | 3 | , file-embed, foreign-store, hashids, hpack, http-conduit, lens |
4 | , file-embed, hashids, hjsmin, http-conduit, lens, monad-control | ||
5 | , monad-logger, mtl, persistent, persistent-postgresql | 4 | , monad-logger, mtl, persistent, persistent-postgresql |
6 | , persistent-template, safe, shakespeare, stdenv, systemd | 5 | , persistent-template, shakespeare, stdenv, systemd |
7 | , template-haskell, text, thermoprint-client, time | 6 | , template-haskell, text, time, unordered-containers, vector, wai |
8 | , unordered-containers, vector, wai, wai-extra, wai-logger, warp | 7 | , wai-extra, wai-logger, warp, yaml, yesod, yesod-core, yesod-form |
9 | , yaml, yesod, yesod-auth, yesod-core, yesod-form, yesod-static | 8 | , yesod-static, thermoprint-client ? null |
10 | }: | 9 | }: |
11 | mkDerivation { | 10 | mkDerivation { |
12 | pname = "bar"; | 11 | pname = "bar"; |
@@ -15,17 +14,18 @@ mkDerivation { | |||
15 | isLibrary = true; | 14 | isLibrary = true; |
16 | isExecutable = true; | 15 | isExecutable = true; |
17 | libraryHaskellDepends = [ | 16 | libraryHaskellDepends = [ |
18 | aeson base bytestring case-insensitive classy-prelude | 17 | aeson base bytestring classy-prelude classy-prelude-yesod conduit |
19 | classy-prelude-conduit classy-prelude-yesod conduit containers | 18 | containers fast-logger file-embed hashids http-conduit lens |
20 | data-default directory fast-logger file-embed hashids hjsmin | 19 | monad-logger mtl persistent persistent-postgresql |
21 | http-conduit lens monad-control monad-logger mtl persistent | 20 | persistent-template shakespeare systemd template-haskell text time |
22 | persistent-postgresql persistent-template safe shakespeare systemd | 21 | unordered-containers vector wai wai-extra wai-logger warp yaml |
23 | template-haskell text thermoprint-client time unordered-containers | 22 | yesod yesod-core yesod-form yesod-static |
24 | vector wai wai-extra wai-logger warp yaml yesod yesod-auth | 23 | ] ++ if thermoprint-client == null then [] else [ thermoprint-client ]; |
25 | yesod-core yesod-form yesod-static | 24 | configureFlags = if thermoprint-client != null then [ "thermoprint" ] else []; |
26 | ]; | 25 | libraryToolDepends = [ hpack ]; |
27 | executableHaskellDepends = [ base ]; | 26 | executableHaskellDepends = [ base foreign-store warp ]; |
28 | doHaddock = false; | 27 | doHaddock = false; |
28 | preConfigure = "hpack"; | ||
29 | license = stdenv.lib.licenses.unfree; | 29 | license = stdenv.lib.licenses.unfree; |
30 | hydraPlatforms = stdenv.lib.platforms.none; | 30 | hydraPlatforms = stdenv.lib.platforms.none; |
31 | } | 31 | } |