-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add fourmolu to nix flake as a convenient script #3245
Conversation
|
Great, this can be very handy.
Quite possibly this is because of unicode characters in the comments. Another kind of error is this, I am getting it 7 times:
No idea about this one. |
@jberthold can you try now? I've seen this unicode error before and it is to do with locales indeed.. Tried adding a fix to the script. As to the second error, that should be gone with formolu 0.4, which i switched to now |
- name: Run unit tests | ||
run: nix-build -A project.kore.checks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still cannot get rid of this old nix-build
because running the unit tests via nix flake segfaults randomly :/
nixpkgs22_05For = system: | ||
import nixpkgs22_05 { | ||
inherit system; | ||
overlays = [ z3-overlay ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switched to the stable 22.05 branch for all the utilities like fourmolu
, eventlog2html
, etc. as well as cabal
/stack
in the dev shell
# https://github.com/tweag/ormolu/issues/38 | ||
# https://gitlab.haskell.org/ghc/ghc/-/issues/17755 | ||
export LOCALE_ARCHIVE= | ||
export LC_ALL= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should hopefully address the unicode issue @jberthold
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 works like a charm now, thx for fixing the locale!
Partially addresses #3236