mirror of
https://github.com/NorfairKing/feedback.git
synced 2024-11-26 13:21:05 +03:00
13 lines
384 B
Nix
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;
|
|
}
|