#ghcup — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #ghcup, aggregated by home.social.
-
If like me, you use
ghcup tui, and constantly find yourself pressing "u" thinking it means "use" only to find it means "uninstall", you can change the keybindings by editing ~/.ghcup/config.yamlkey-bindings:
uninstall:
KChar: 'r'
set:
KChar: 'u' -
@dpwiz I can deeply empathize. I almost stopped using Nix for my project. I kept pushing because it feels like a better setup than #ghcup (there's one quirk [?] that really bothered me here, in particular). It's very attractive with respect to a development env in Haskell in my opinion, but Nix sometimes feels like it causes bigger headaches.
Also thank you for mentioning this, it makes me feel less like a fool.
-
Potential #haskell productivity boost ⚠️
I think the #GHC binaries from #ghcup are compiled to ignore Haddock comments (for "non-builtin" depends), so they don't show up in #vscode.
I'm using this Nix Flake template: https://zero-to-flakes.com/haskell-flake/start/
I maybe changed 1 line in the default flake (ghc92) and now see pic.
#cabal + #nixpkgs for depends 💯
I think this all lets you use same HLS, GHC, and Cabal as me, + reproduce my builds, run tests, with 1 or 2 commands.
#nix is reproducible magic.
-
Oh! So I get to learn just enough about #ghcup to become dangerous! Excellent.
-
Can anyone link me to what's new in #GHC 9 and I think there's also a what's new or some kind of language draft or something for #Haskell language and maybe #Cabal that goes over all the language pragmas/extensions enabled by default in the new version.
What should I be very aware of? I've been sticking with the versions #ghcup suggest to me--so right now I'm on GHC 8.10.7.
-
From what I can see, writing a #haskell #buildpack for #heroku is basically a #bash script one could write to set up haskell on a matching Linux distro. So all I need is to find a way to script the steps I took to get there. That might not be easy: I can't predict whether #ghcup is going to work on Heroku. Who here has tried that and can share their experiences?
-
So that finally installed. Oh dear #ghcup maintainers: does it have to be so slow and involved? Every time I get to install #haskell on a fresh environment I have to look up how to do it, because it isn't obvious, and the packages available from package managers always prove out of date or incompatible.