on iko/ghcjs-patch-master help sign in
implement fix for Ormolu in `nix-shell` (#1471)

https://github.com/input-output-hk/haskell.nix/issues/1337#issuecomment-1011371831

commit8eeac1d0ec46e3b7dd8a644baa9d8ff307273c3b authorPeter Becich <peterbecich@gmail.com> dateSun 15 May 2022, 16:40 (4 years ago) parent6d6df80
1 file changed+9
overlays/hackage-quirks.nix+9
overlays/hackage-quirks.nix+9
@@ -66,6 +66,15 @@ in { haskell-nix = prev.haskell-nix // {
6666 })];
6767 };
6868
69+ ormolu = {
70+ modules = [
71+ ({ lib, ... }: {
72+ options.nonReinstallablePkgs =
73+ lib.mkOption { apply = lib.remove "Cabal"; };
74+ })
75+ ];
76+ };
77+
6978 }."${name}" or {};
7079
7180}; }