From 9738540e4dbf01382b05fc16118b8269e42aef2f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 2 Nov 2019 14:14:26 -0700 Subject: provide env and app for haskell apps --- default.nix | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 34 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index ceb0d12..c5bfabd 100644 --- a/default.nix +++ b/default.nix @@ -74,39 +74,37 @@ in { security.sudo.wheelNeedsPassword = true; boot.cleanTmpDir = true; }; - } // { - ibb = buildHaskellApp { - name = "Com.Influencedbybooks"; - nick = "ibb"; - apex = "Com.Influencedbybooks.Apex"; - aero = "Com.Influencedbybooks.Aero"; - deps = { - both = [ - "clay" - "miso" - "protolude" - "servant" - "text" - ]; - apex = [ - "MonadRandom" - "acid-state" - "blaze-html" - "blaze-markup" - "bytestring" - "ixset" - "random" - "safecopy" - "scotty" - "servant-server" - "text" - ]; - aero = [ - "aeson" - "containers" - "ghcjs-base" - ]; - }; + } // (buildHaskellApp { + name = "Com.Influencedbybooks"; + nick = "ibb"; + apex = "Com.Influencedbybooks.Apex"; + aero = "Com.Influencedbybooks.Aero"; + deps = { + both = [ + "clay" + "miso" + "protolude" + "servant" + "text" + ]; + apex = [ + "MonadRandom" + "acid-state" + "blaze-html" + "blaze-markup" + "bytestring" + "ixset" + "random" + "safecopy" + "scotty" + "servant-server" + "text" + ]; + aero = [ + "aeson" + "containers" + "ghcjs-base" + ]; }; - }; + }); } -- cgit v1.2.3