diff options
author | lassulus <lass@lassul.us> | 2017-05-09 20:58:40 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-05-09 21:21:24 +0200 |
commit | 96272a529bace5cf2912d50bcbbb3860b58a48be (patch) | |
tree | 06f7f799bfcd4a8de08f58ab83daa6417c56bdd2 /shell.nix | |
parent | fc00737409406536adf0b55196df56f1f0b92220 (diff) |
shell.nix -> news.cabal
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 39 |
1 files changed, 0 insertions, 39 deletions
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 : |