1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

Add haskell packages

This commit is contained in:
Kierán Meinhardt
2019-01-17 19:34:30 +01:00
parent 40c0f40284
commit 942c8422b9
3 changed files with 99 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ let
daybook = pkgs.callPackage ../packages/daybook.nix {};
iolanguage = pkgs.callPackage ../packages/iolanguage.nix {};
todoist = pkgs.callPackage ../packages/todoist {};
haskells = import ../dot/haskells.nix;
unstable = import <nixos-unstable> {};
executables = pkgs.haskell.lib.justStaticExecutables;
in with pkgs;
@@ -118,13 +119,12 @@ in with pkgs;
chicken
clojure
gcc
ghc
(haskellPackages.ghcWithHoogle haskells)
(executables haskellPackages.cabal-install)
(executables haskellPackages.ghcid)
(executables haskellPackages.hakyll)
(executables haskellPackages.hasktags)
(executables haskellPackages.hindent)
(executables haskellPackages.hoogle)
(executables haskellPackages.pointfree)
(executables haskellPackages.pointful)
(executables haskellPackages.hlint)

View File

@@ -10,7 +10,7 @@
ip = "${pkgs.iproute}/bin/ip -c";
ocaml = rlwrap "${pkgs.ocaml}/bin/ocaml";
tmux = "${pkgs.tmux}/bin/tmux -2";
inix = ''nix repl '<nixpkgs>' '';
nixi = ''nix repl "<nixpkgs>"'';
};
environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin";

96
dot/haskells.nix Normal file
View File

@@ -0,0 +1,96 @@
haskellPackages:
with haskellPackages; [
HTTP
HUnit
MissingH
QuickCheck
ad
adjunctions
aeson
algebra
ansi-terminal
async
attoparsec
base-orphans
bifunctors
binary
blaze-html
blaze-markup
brick
bytes
bytestring
case-insensitive
cassava
cereal
clock
comonad
comonad-transformers
conduit
conduit-extra
constraints
containers
contravariant
criterion
data-default
directory
dlist
either
exceptions
extra
filepath
foundation
free
haskeline
hedgehog
hourglass
hspec
http-client
http-conduit
kan-extensions
lens
linear
lucid
megaparsec
microlens
monad-logger
mono-traversable
mtl
network
parallel
parsec
persistent
pipes
pointed
pretty-show
primitive
process
profunctors
regex-tdfa
safe
semigroupoids
semigroups
servant
servant-client
servant-docs
servant-server
servant-swagger
servant-blaze
split
stm
tagsoup
tasty
text
time
transformers
turtle
type-unary
unix-time
unordered-containers
vector
vinyl
void
vty
warp
wreq
yaml
]