Skip to content

Commit d86768a

Browse files
committed
Improve formatting
1 parent 869ee38 commit d86768a

File tree

1 file changed

+10
-28
lines changed

1 file changed

+10
-28
lines changed

flake.nix

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -272,34 +272,16 @@
272272
pkgs.haskell-nix.compiler.${compiler-nix-name}
273273
];
274274
};
275-
shells = lib.genAttrs
276-
(
277-
# Exclude old versions of GHC to speed up `nix flake check`
278-
lib.attrNames (
279-
lib.removeAttrs pkgs.haskell-nix.compiler
280-
[
281-
"ghc844"
282-
"ghc861"
283-
"ghc862"
284-
"ghc863"
285-
"ghc864"
286-
"ghc881"
287-
"ghc882"
288-
"ghc883"
289-
"ghc8101"
290-
"ghc8102"
291-
"ghc8103"
292-
"ghc8104"
293-
"ghc8105"
294-
"ghc8106"
295-
"ghc810420210212"
296-
"ghc901"
297-
"ghc921"
298-
"ghc922"
299-
"ghc923"
300-
]
301-
)
302-
)
275+
shells = lib.genAttrs (
276+
# Exclude old versions of GHC to speed up `nix flake check`
277+
lib.attrNames (
278+
lib.removeAttrs pkgs.haskell-nix.compiler
279+
([ "ghc844" ] ++
280+
[ "ghc861" "ghc862" "ghc863" "ghc864" ] ++
281+
[ "ghc881" "ghc882" "ghc883" ] ++
282+
[ "ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810420210212" "ghc8105" "ghc8106" ] ++
283+
[ "ghc901" ] ++ [ "ghc921" "ghc922" "ghc923" ])
284+
))
303285
mkHaskellNixShell;
304286
in
305287
shells // { default = shells.${compiler}; });

0 commit comments

Comments
 (0)