Skip to content

Commit 8eeac1d

Browse files
authored
implement fix for Ormolu in nix-shell (#1471)
#1337 (comment)
1 parent 6d6df80 commit 8eeac1d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

overlays/hackage-quirks.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}; }

0 commit comments

Comments
 (0)