autodocodec/shell.nix

14 lines
368 B
Nix
Raw Normal View History

2021-10-20 18:59:50 +03:00
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 {
2021-10-24 20:34:17 +03:00
name = "autodocodec-shell";
2021-10-20 18:59:50 +03:00
buildInputs = with pkgs; [
(import sources.niv { }).niv
zlib
] ++ pre-commit.tools;
shellHook = pre-commit.run.shellHook;
}