No description
Find a file
Sridhar Ratnakumar b17b088e3f
flake.lock: Update (#105)
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/dcc36e45d054d7bb554c9cdab69093debd91a0b5' (2023-04-01)
  → 'github:hercules-ci/flake-parts/006c75898cf814ef9497252b022e91c946ba8e17' (2023-05-08)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/e3652e0735fbec227f342712f180f4f21f0594f2?dir=lib' (2023-03-30)
  → 'github:NixOS/nixpkgs/da45bf6ec7bbcc5d1e14d3795c025199f28e0de0?dir=lib' (2023-04-30)
• Updated input 'haskell-flake':
    'github:srid/haskell-flake/a904caac3e4638f84a28102762bf767dd1ae50c0' (2023-04-28)
  → 'github:srid/haskell-flake/ebfe70269fce376a7c95d6e9f011e16cbfd29b8d' (2023-05-09)
• Updated input 'mission-control':
    'github:Platonic-Systems/mission-control/c2f3f0a8dce770c46bfa217270ee5592f3a5ebf5' (2023-04-20)
  → 'github:Platonic-Systems/mission-control/a0c93bd764a3c25e6999397e9f5f119c1b124e38' (2023-05-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/6806b63e824f84b0f0e60b6d660d4ae753de0477' (2023-04-28)
  → 'github:nixos/nixpkgs/12ba1a5f90b16acdca741ac82d8204b3ec8c2aaf' (2023-05-10)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/6d8bea2820630576ad8c3a3bde2c95c38bcc471f' (2023-04-26)
  → 'github:numtide/treefmt-nix/b44794f94514b61512352a18cd77c710f0005f15' (2023-05-05)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-20 13:06:07 -04:00
.github/workflows Parametrize systems using github:nix-systems (#97) 2023-04-09 09:51:56 -04:00
.vscode Nixify scripts using mission-control (#72) 2022-12-17 12:29:11 -05:00
src Nixify scripts using mission-control (#72) 2022-12-17 12:29:11 -05:00
.envrc trigger direnv rebuild when *.cabal changes (#89) 2023-02-16 12:06:41 -05:00
.gitattributes Mark flake.lock as auto generated 2022-01-29 13:56:03 -05:00
.gitignore Simplify .gitignore 2022-09-03 10:33:32 -04:00
.hlint.yaml hlint: add a custom rule as illustration 2022-09-03 10:27:38 -04:00
flake.lock flake.lock: Update (#105) 2023-05-20 13:06:07 -04:00
flake.nix Update haskell-flake 2023-04-28 16:26:17 -04:00
fourmolu.yaml Switch to fourmolu 2022-03-23 13:46:51 -04:00
haskell-template.cabal Update flake.lock & reintroduce garnix CI (#66) 2022-10-30 19:22:49 -04:00
hie.yaml Remove tests; just document how to add it (#50) 2022-09-01 20:04:57 -04:00
Jenkinsfile Simplify Jenkinsfile 2023-04-26 21:45:08 -04:00
LICENSE Change year 2022-10-10 21:56:38 -04:00
README.md readme: highlight direnv 2023-04-08 10:37:43 -04:00
shell.nix Simplify shell.nix using builtins.getFlake 2022-06-17 18:08:17 -04:00

haskell-template

Get a Haskell development environment up and running quickly. Thanks to Nix, this template is optimized for a fully reproducible and friendly development environment. It is based on:

If you have an existing Haskell project, you should probably use https://github.com/srid/haskell-flake instead.

Getting Started

tldr: Install Nix, enable Flakes, open in VSCode and run , run.

Full instructions: https://srid.ca/haskell-template/start

Recommended dev environment setup: https://haskell.flake.page/direnv

Tips

  • Run nix flake update to update all flake inputs.
  • Run nix build .#check -L to run the flake checks.
  • Run , fmt in nix shell to autoformat the project. This uses treefmt.
  • Run , docs to start Hoogle with packages in your cabal file.
  • Run the application without installing: nix run github:srid/haskell-template (or nix run . from checkout)
  • Common workflows

Discussions

Questions? Ideas? Suggestions? You may post them here: https://github.com/srid/haskell-template/discussions