feat(repo): initialise repository

This commit is contained in:
Artur Manuel 2025-01-15 01:57:39 +00:00
commit c85e45aaee
11 changed files with 237 additions and 0 deletions

4
flake/package.nix Normal file
View file

@ -0,0 +1,4 @@
{ haskellPackages }:
haskellPackages.developPackage {
root = ../.;
}

14
flake/shell.nix Normal file
View 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
View file

@ -0,0 +1,5 @@
_: {
projectRootFile = ".git/config";
programs.nixfmt.enable = true;
programs.ormolu.enable = true;
}