This commit is contained in:
Sridhar Ratnakumar 2022-04-06 17:43:03 -04:00
parent 0f37d0ef05
commit d4f809d1a6
3 changed files with 11 additions and 6 deletions

View file

@ -1,6 +1,11 @@
# haskell-template
Haskell project template optimized for a fully reproducible and friendly development environment. Based on [Nix](http://www.srid.ca/haskell-nix) + [Flakes](https://serokell.io/blog/practical-nix-flakes) + VSCode ([HLS](https://github.com/haskell/haskell-language-server)) + [fourmolu](https://github.com/fourmolu/fourmolu) autoformatting + [Relude](https://github.com/kowainik/relude#relude) as Prelude.
Haskell project template optimized for a fully reproducible and friendly development environment. Based on:
- [Nix](http://www.srid.ca/haskell-nix) + [Flakes](https://serokell.io/blog/practical-nix-flakes) + GHC 9
- VSCode + [HLS](https://github.com/haskell/haskell-language-server)
- [fourmolu](https://github.com/fourmolu/fourmolu) autoformatting
- [Relude](https://github.com/kowainik/relude#relude) as Prelude.
## Getting Started

8
flake.lock generated
View file

@ -70,17 +70,17 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1648097358,
"narHash": "sha256-GMoTKP/po2Nbkh1tvPvP8Ww6NyFW8FFst1Z3nfzffZc=",
"lastModified": 1649225869,
"narHash": "sha256-u1zLtPmQzhT9mNXyM8Ey9pk7orDrIKdwooeGDEXm5xM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4d60081494259c0785f7e228518fee74e0792c1b",
"rev": "b6966d911da89e5a7301aaef8b4f0a44c77e103c",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4d60081494259c0785f7e228518fee74e0792c1b",
"rev": "b6966d911da89e5a7301aaef8b4f0a44c77e103c",
"type": "github"
}
},

View file

@ -2,7 +2,7 @@
description = "haskell-template's description";
inputs = {
# To find a suitable nixpkgs hash with cache, pick one from https://status.nixos.org/
nixpkgs.url = "github:nixos/nixpkgs/4d60081494259c0785f7e228518fee74e0792c1b";
nixpkgs.url = "github:nixos/nixpkgs/b6966d911da89e5a7301aaef8b4f0a44c77e103c";
flake-utils.url = "github:numtide/flake-utils";
flake-utils.inputs.nixpkgs.follows = "nixpkgs";
flake-compat.url = "github:edolstra/flake-compat";