diff options
-rw-r--r-- | news.cabal | 19 | ||||
-rw-r--r-- | shell.nix | 39 |
2 files changed, 19 insertions, 39 deletions
diff --git a/news.cabal b/news.cabal new file mode 100644 index 0000000..fafe90d --- /dev/null +++ b/news.cabal @@ -0,0 +1,19 @@ +name: news +version: 1.0.0 +license: MIT +author: lassulus <lassulus@lassul.us> +maintainer: lassulus@lassul.us +build-type: Simple +cabal-version: >=1.10 + +executable news + main-is: news.hs + build-depends: + bloomfilter, + bytestring, + feed, + lens, + wreq, + base + default-language: Haskell2010 + ghc-options: -O2 -Wall -threaded diff --git a/shell.nix b/shell.nix deleted file mode 100644 index 9abf4be..0000000 --- a/shell.nix +++ /dev/null @@ -1,39 +0,0 @@ - -let - pname = "news"; - version = "1"; - - pkgs = nixpkgs // extrapkgs; - nixpkgs = import <nixpkgs> {}; - extrapkgs = { - }; - hsPkgs = pkgs.haskellPackages.override { - overrides = self: super: { - }; - }; - hsEnv = hsPkgs.ghcWithPackages (_hsPkgs: with _hsPkgs; - [ - bloomfilter - irc - irc-client - feed - split - warp - wai-util - wreq - ]); -in - -pkgs.myEnvFun { - name = "${pname}-${version}"; - - buildInputs = with pkgs; [ - hsEnv - ]; - - extraCmds = with pkgs; '' - $(grep export ${hsEnv.outPath}/bin/ghc) - ''; -} - -# vim: set fdm=marker : |