From d4f809d1a6d9b443948d79cf6b32278c5a06798c Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 6 Apr 2022 17:43:03 -0400 Subject: [PATCH] GHC 9 --- README.md | 7 ++++++- flake.lock | 8 ++++---- flake.nix | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d336f6b..49e13bd 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/flake.lock b/flake.lock index 9170a8d..89fbc65 100644 --- a/flake.lock +++ b/flake.lock @@ -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" } }, diff --git a/flake.nix b/flake.nix index 1851537..899b049 100644 --- a/flake.nix +++ b/flake.nix @@ -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";