inductive-lambda/nix/modules/flake-parts/devshell.nix

20 lines
566 B
Nix
Raw Permalink Normal View History

2024-11-27 16:13:05 +01:00
{
perSystem = { config, pkgs, ... }: {
# Default shell.
devShells.default = pkgs.mkShell {
name = "inductive-lambda";
meta.description = "Haskell development environment";
# See https://community.flake.parts/haskell-flake/devshell#composing-devshells
inputsFrom = [
config.haskellProjects.default.outputs.devShell # See ./nix/modules/haskell.nix
config.treefmt.build.devShell # See ./nix/modules/formatter.nix
];
packages = with pkgs; [
just
nixd
ghciwatch
];
};
};
}