feat: haskell added
This commit is contained in:
parent
0ef3e57b21
commit
71c63a89e2
18 changed files with 161 additions and 102 deletions
4
templates/Haskell/flake/package.nix
Normal file
4
templates/Haskell/flake/package.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ haskellPackages }:
|
||||
haskellPackages.developPackage {
|
||||
root = ../.;
|
||||
}
|
9
templates/Haskell/flake/shell.nix
Normal file
9
templates/Haskell/flake/shell.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ haskellPackages }: {
|
||||
packages = builtins.attrValues {
|
||||
inherit (haskellPackages)
|
||||
haskell-language-server
|
||||
ormolu
|
||||
ghc
|
||||
;
|
||||
};
|
||||
}
|
5
templates/Haskell/flake/treefmt.nix
Normal file
5
templates/Haskell/flake/treefmt.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
projectRootFile = "flake.nix";
|
||||
programs.nixfmt.enable = true;
|
||||
programs.ormolu.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue