feat(repo): initialise repository
This commit is contained in:
commit
c85e45aaee
11 changed files with 237 additions and 0 deletions
4
flake/package.nix
Normal file
4
flake/package.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ haskellPackages }:
|
||||
haskellPackages.developPackage {
|
||||
root = ../.;
|
||||
}
|
14
flake/shell.nix
Normal file
14
flake/shell.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
mkShell,
|
||||
haskellPackages,
|
||||
}:
|
||||
mkShell {
|
||||
name = "haskell";
|
||||
packages = builtins.attrValues {
|
||||
inherit (haskellPackages)
|
||||
haskell-language-server
|
||||
ormolu
|
||||
ghc
|
||||
;
|
||||
};
|
||||
}
|
5
flake/treefmt.nix
Normal file
5
flake/treefmt.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
projectRootFile = ".git/config";
|
||||
programs.nixfmt.enable = true;
|
||||
programs.ormolu.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue