her.esy.fun/shell.nix

33 lines
664 B
Nix
Raw Normal View History

2020-05-25 20:28:06 +00:00
let
2020-06-23 14:55:38 +00:00
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {};
2020-06-22 07:39:44 +00:00
pkgs1909 = import (fetchTarball https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz) {};
2020-05-25 20:28:06 +00:00
haskellDeps = ps : with ps; [
shake
2020-06-14 11:19:13 +00:00
pandoc
data-default
2020-06-22 07:39:44 +00:00
protolude
pkgs1909.haskellPackages.sws
2020-06-22 21:01:47 +00:00
stache
2020-05-25 20:28:06 +00:00
];
ghc = pkgs.haskellPackages.ghcWithPackages haskellDeps;
in
pkgs.mkShell {
buildInputs = with pkgs;
2020-06-14 11:19:13 +00:00
[ cacert
2020-05-25 20:28:06 +00:00
coreutils
html-xml-utils
zsh
perl
perlPackages.URI
minify
niv
ghc
2020-06-14 11:19:13 +00:00
git
direnv
2020-05-25 20:28:06 +00:00
haskellPackages.shake
# for emacs dev
ripgrep
2020-05-25 20:28:06 +00:00
];
2019-09-24 15:55:59 +00:00
}