autodocodec/shell.nix
Tom Sydney Kerckhove 9b57c76cd8 trying a thing
2021-10-20 17:59:50 +02:00

14 lines
378 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 = "yamlparse-applicative-shell";
buildInputs = with pkgs; [
(import sources.niv { }).niv
zlib
] ++ pre-commit.tools;
shellHook = pre-commit.run.shellHook;
}