Remove fourmolu from shell.nix and add note on maintaining

This commit is contained in:
Pepe Iborra 2020-08-08 14:04:02 +01:00
parent c8007c387c
commit 650cfae6b3

View File

@ -3,6 +3,17 @@
# while reducing Nix maintenance costs.
# It does **not** aim to replace Cabal/Stack with Nix
# Maintaining this file:
#
# - Dealing with broken nix-shell
#
# 1. Bump the nixpkgs version using `niv update nixpkgs`
# 2. Comment out any remaining failing packages
#
# - Dealing with broken cabal build inside nix-shell:
#
# If my understanding of cabal new-build is correct this should never happen,
# assuming that cabal new-build does succeed outside nix-shell
{ sources ? import nix/sources.nix,
nixpkgs ? import sources.nixpkgs {},
@ -47,7 +58,7 @@ let defaultCompiler = "ghc" + lib.replaceStrings ["."] [""] haskellPackages.ghc.
data-default-instances-old-locale
extra
floskell
fourmolu
# fourmolu
fuzzy
generic-deriving
ghc-check
@ -99,9 +110,10 @@ in
stdenv.mkDerivation {
name = "haskell-language-server";
buildInputs = [
git
gmp
zlib
ncurses
zlib
haskellPackages.cabal-install
haskellPackages.hlint