autodocodec/shell.nix
Tom Sydney Kerckhove 681313ab7e test failure
2021-10-24 19:34:17 +02:00

14 lines
368 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
] ++ pre-commit.tools;
shellHook = pre-commit.run.shellHook;
}