Skip to content

implement fix for Ormolu in nix-shell #1471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2022

Conversation

peterbecich
Copy link
Contributor

Closes #1337

Implemented this suggestion: #1337 (comment)

It is tested here: https://github.com/peterbecich/haskell.nix-ghcjs-issue/tree/test-ormolu
nix-shell works; ormolu is available

[nix-shell:~/haskell/haskell.nix-ghcjs-issue]$ ormolu --version
ormolu 0.5.0.0 UNKNOWN UNKNOWN
using ghc-lib-parser 9.2.2.20220307

[nix-shell:~/haskell/haskell.nix-ghcjs-issue]$ which ormolu
/nix/store/61zk1g60k5m0lq8nxw3i4dhqyafar954-ormolu-exe-ormolu-0.5.0.0/bin/ormolu

@hamishmack hamishmack merged commit 8eeac1d into input-output-hk:master May 15, 2022
@peterbecich peterbecich deleted the ormolu-hackage-quirk branch May 16, 2022 03:14
@michaelpj
Copy link
Collaborator

Please include comments for things like this so we know when we can remove them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nix-shell tool Ormolu builds with incompatible version of Cabal
3 participants