fix: actually add haskell
This commit is contained in:
parent
71c63a89e2
commit
b5f8727837
11 changed files with 5 additions and 25 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