her.esy.fun/shell.nix

47 lines
939 B
Nix
Raw Permalink 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-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
2020-06-22 21:01:47 +00:00
stache
2021-04-18 15:40:32 +00:00
turtle
ansi-terminal
2021-04-23 08:38:46 +00:00
time
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
2021-04-23 08:38:46 +00:00
# build
ghc
haskellPackages.shake
wget # for cabal-install
haskellPackages.cabal-install
2020-08-06 08:29:34 +00:00
entr
2020-05-25 20:28:06 +00:00
html-xml-utils
zsh
perl
perlPackages.URI
minify
2021-04-23 08:38:46 +00:00
imagemagick
2021-04-23 14:30:30 +00:00
texlive.combined.scheme-full # https://nixos.wiki/wiki/TexLive
cm_unicode
2021-04-23 08:38:46 +00:00
# dev env
# niv
2020-06-14 11:19:13 +00:00
git
direnv
2020-11-02 22:46:08 +00:00
tmux
# for emacs dev
ripgrep
2021-04-23 08:38:46 +00:00
nodePackages.http-server
2020-05-25 20:28:06 +00:00
];
2021-04-23 14:30:30 +00:00
shellHook = ''
export FONTCONFIG_FILE=${pkgs.fontconfig.out}/etc/fonts/fonts.conf
'';
2019-09-24 15:55:59 +00:00
}