Skip to content

Commit 650cfae

Browse files
committed
Remove fourmolu from shell.nix and add note on maintaining
1 parent c8007c3 commit 650cfae

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

shell.nix

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
# while reducing Nix maintenance costs.
44
# It does **not** aim to replace Cabal/Stack with Nix
55

6+
# Maintaining this file:
7+
#
8+
# - Dealing with broken nix-shell
9+
#
10+
# 1. Bump the nixpkgs version using `niv update nixpkgs`
11+
# 2. Comment out any remaining failing packages
12+
#
13+
# - Dealing with broken cabal build inside nix-shell:
14+
#
15+
# If my understanding of cabal new-build is correct this should never happen,
16+
# assuming that cabal new-build does succeed outside nix-shell
617

718
{ sources ? import nix/sources.nix,
819
nixpkgs ? import sources.nixpkgs {},
@@ -47,7 +58,7 @@ let defaultCompiler = "ghc" + lib.replaceStrings ["."] [""] haskellPackages.ghc.
4758
data-default-instances-old-locale
4859
extra
4960
floskell
50-
fourmolu
61+
# fourmolu
5162
fuzzy
5263
generic-deriving
5364
ghc-check
@@ -99,9 +110,10 @@ in
99110
stdenv.mkDerivation {
100111
name = "haskell-language-server";
101112
buildInputs = [
113+
git
102114
gmp
103-
zlib
104115
ncurses
116+
zlib
105117

106118
haskellPackages.cabal-install
107119
haskellPackages.hlint

0 commit comments

Comments
 (0)