home.social

#ghcup — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #ghcup, aggregated by home.social.

fetched live
  1. #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'

    github.com/haskell/ghcup-hs/bl

  2. #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'

    github.com/haskell/ghcup-hs/bl

  3. #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'

    github.com/haskell/ghcup-hs/bl

  4. #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'

    github.com/haskell/ghcup-hs/bl

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

  6. @dpwiz I can deeply empathize. I almost stopped using Nix for my project. I kept pushing because it feels like a better setup than (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.

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

  8. @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 whose binaries I think are compiled to ignore #haddock comments to some extent so in #vscode the tooltips do not show the Haddock documentation for added (?) dependencies. It's very attractive with respect to a development env in Haskell in my opinion, but Nix sometimes feels like it causes bigger headaches.

  9. @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 whose binaries I think are compiled to ignore #haddock comments to some extent so in #vscode the tooltips do not show the Haddock documentation for added (?) dependencies. It's very attractive with respect to a development env in Haskell in my opinion, but Nix sometimes feels like it causes bigger headaches.

  10. I kinda feel like #nix (nixpkgs?) is better than #ghcup for what I use it for.

  11. I kinda feel like (nixpkgs?) is better than for what I use it for.

  12. I kinda feel like #nix (nixpkgs?) is better than #ghcup for what I use it for.

  13. I kinda feel like #nix (nixpkgs?) is better than #ghcup for what I use it for.

  14. I kinda feel like #nix (nixpkgs?) is better than #ghcup for what I use it for.

  15. Also moved to #ghcup on #macos which makes managing compilers and cabal a bit more streamlined. #haskell

  16. Also moved to #ghcup on #macos which makes managing compilers and cabal a bit more streamlined. #haskell

  17. Also moved to #ghcup on #macos which makes managing compilers and cabal a bit more streamlined. #haskell

  18. Also moved to #ghcup on #macos which makes managing compilers and cabal a bit more streamlined. #haskell

  19. Also moved to #ghcup on #macos which makes managing compilers and cabal a bit more streamlined. #haskell

  20. 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: zero-to-flakes.com/haskell-fla

    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.

  21. Potential productivity boost ⚠️

    I think the binaries from are compiled to ignore Haddock comments (for "non-builtin" depends), so they don't show up in .

    I'm using this Nix Flake template: zero-to-flakes.com/haskell-fla

    I maybe changed 1 line in the default flake (ghc92) and now see pic.

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

    is reproducible magic.

  22. 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: zero-to-flakes.com/haskell-fla

    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.

  23. 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: zero-to-flakes.com/haskell-fla

    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.

  24. 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: zero-to-flakes.com/haskell-fla

    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.

  25. 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?

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

    Does anyone know what this is about?

  27. 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?

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

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

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

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

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

  33. Oh! So I get to learn just enough about #ghcup to become dangerous! Excellent.

  34. Oh! So I get to learn just enough about #ghcup to become dangerous! Excellent.

  35. Oh! So I get to learn just enough about #ghcup to become dangerous! Excellent.

  36. Oh! So I get to learn just enough about #ghcup to become dangerous! Excellent.

  37. Oh! So I get to learn just enough about #ghcup to become dangerous! Excellent.

  38. Or without #stack using a simple #cabal-based project structure I often start with plus #ghcup for the tools. I can't get either of these simple workflows out of #nix.

  39. Or without #stack using a simple #cabal-based project structure I often start with plus #ghcup for the tools. I can't get either of these simple workflows out of #nix.

  40. Or without #stack using a simple #cabal-based project structure I often start with plus #ghcup for the tools. I can't get either of these simple workflows out of #nix.

  41. Or without #stack using a simple #cabal-based project structure I often start with plus #ghcup for the tools. I can't get either of these simple workflows out of #nix.

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

  43. Can anyone link me to what's new in 9 and I think there's also a what's new or some kind of language draft or something for language and maybe 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 suggest to me--so right now I'm on GHC 8.10.7.

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

  45. 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?

  46. 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?

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

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