No description
Find a file
Sridhar Ratnakumar 54389ba645
flake.lock: Update (#86)
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/82c16f1682cf50c01cb0280b38a1eed202b3fe9f' (2023-01-10)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/677ed08a50931e38382dbef01cba08a8f7eac8f6?dir=lib' (2022-12-29)
  → 'github:NixOS/nixpkgs/e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e?dir=lib' (2023-01-31)
• Updated input 'mission-control':
    'github:Platonic-Systems/mission-control/9acdaa469ebd3c2d6816f8a30c0c217a0da59fe2' (2022-12-19)
  → 'github:Platonic-Systems/mission-control/feb06872ac4dc977f70f6388c87d36fc3c3c3693' (2023-01-31)
• Removed input 'mission-control/nixpkgs'
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d840126a0890621e7b220894d749132dd4bde6a0' (2023-02-05)
  → 'github:nixos/nixpkgs/6ccc4a59c3f1b56d039d93da52696633e641bc71' (2023-02-09)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/d5ed9a1e6793f99b2e179d5dec9639e48ef22db7' (2023-01-23)
  → 'github:numtide/treefmt-nix/819dd7f076832838bba238eceef9a3dbfc63f5d0' (2023-02-11)
• Added input 'treefmt-nix/nixpkgs':
    'github:nixos/nixpkgs/0591d6b57bfeb55dfeec99a671843337bc2c3323' (2023-02-04)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-11 15:23:21 -05:00
.github/workflows Re-enable hlsCheck 2023-02-05 14:37:24 -05: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 Add .envrc 2022-03-17 10:19:17 -04: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 (#86) 2023-02-11 15:23:21 -05:00
flake.nix really decouple the nixpkgs workaround (#85) 2023-02-11 15:04:27 -05: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
LICENSE Change year 2022-10-10 21:56:38 -04:00
README.md Advance nixpkgs, for GHC 9.2 (#79) 2023-01-24 13:02:42 -05: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.

For details, see: https://srid.ca/haskell-template/start

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