feedback/shell.nix
2022-05-26 11:59:39 +02:00

13 lines
384 B
Nix

{ sources ? import ./nix/sources.nix
, pkgs ? import ./nix/pkgs.nix { inherit sources; }
, pre-commit ? import ./nix/pre-commit.nix { inherit sources; }
}:
pkgs.haskell.lib.buildStackProject {
name = "feedback-shell";
buildInputs = with pkgs; [
(import sources.niv { }).niv
zlib
] ++ pre-commit.tools;
shellHook = pre-commit.run.shellHook + pkgs.feedback.shellHook;
}