#haskell #ghcup discovery

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.yaml

key-bindings:
uninstall:
KChar: 'r'
set:
KChar: 'u'

https://github.com/haskell/ghcup-hs/blob/a847ce6d2daa5e92a2a719cc5c4c9f1ae66e98ff/data/config.yaml#L24

ghcup-hs/data/config.yaml at a847ce6d2daa5e92a2a719cc5c4c9f1ae66e98ff · haskell/ghcup-hs

Contribute to haskell/ghcup-hs development by creating an account on GitHub.

GitHub

@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.

I kinda feel like #nix (nixpkgs?) is better than #ghcup for what I use it for.
Also moved to #ghcup on #macos which makes managing compilers and cabal a bit more streamlined. #haskell

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.

Getting Started | Zero to Flakes

Before using haskell-flake you must first install Nix.

I can't seem to manage to get documentation (beyond type signatures) to pop up in #vscode for #haskell code (my tooling is managed with #ghcup), the way it does for the "builtin" functions.

Does anyone know what this is about?

@fosskers Agreed. The one criticism I have is that when you install something, the download info and progress bar is just written over the UI (wherever the cursor happens to be), creating a total visual mess. But apart from that, #ghcup is very nice.
Oh! So I get to learn just enough about #ghcup to become dangerous! Excellent.
GHCup state report and 2023 resolutions

Since GHCup is becoming a central tool of development, I want to share some thoughts about the current state, recent work, certain problems and upcoming ideas. Platform support and the move GitHub GHCup supports all major platforms: Linux, windows, mac and FreeBSD. Since GHC has ceased to support FreeBSD actively, it has been problematic to keep up with FreeBSD support through GitLab CI. In an effort to improve this situation, but also stop relying on gitlab due to other issues, I decided to ...

Haskell Community
Windows TUI for #haskell #ghcup is coming...