autodocodec/shell.nix
2021-11-16 01:47:12 +01:00

15 lines
396 B
Nix

let
sources = import ./nix/sources.nix;
pkgs = import ./nix/pkgs.nix { inherit sources; };
pre-commit = import ./nix/pre-commit.nix { inherit sources; };
in
pkgs.haskell.lib.buildStackProject {
name = "autodocodec-shell";
buildInputs = with pkgs; [
(import sources.niv { }).niv
zlib
haskellPackages.doctest
] ++ pre-commit.tools;
shellHook = pre-commit.run.shellHook;
}