hungryjoe, to haskell
@hungryjoe@functional.cafe avatar

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:<br></br>  uninstall:<br></br>    KChar: 'r'<br></br>  set:<br></br>    KChar: 'u'<br></br>

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

someodd, to haskell
@someodd@fosstodon.org avatar

After much failure with trying to get my project running with , I find the workaround is to use an environmental variable to set SDL_RENDER_DRIVER=software and skip using drivers entirely, I guess?

someodd,
@someodd@fosstodon.org avatar

@dpwiz I can deeply empathize. I almost stopped using Nix for my project. I kept pushing because it feels like a better setup than whose binaries I think are compiled to ignore comments to some extent so in 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.

raichoo, to haskell
@raichoo@chaos.social avatar

Upgrading the password manager I wrote in a couple of years ago was surprisingly straight forward. Moved all dependency boundaries into a cabal freeze file. Let's see how that feels moving further.

raichoo,
@raichoo@chaos.social avatar

Also moved to on which makes managing compilers and cabal a bit more streamlined.

someodd, to haskell
@someodd@fosstodon.org avatar

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: https://zero-to-flakes.com/haskell-flake/start/

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.

someodd,
@someodd@fosstodon.org avatar

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • normalnudes
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • osvaldo12
  • ngwrru68w68
  • ethstaker
  • JUstTest
  • everett
  • Durango
  • Leos
  • cubers
  • mdbf
  • khanakhh
  • tester
  • modclub
  • cisconetworking
  • anitta
  • tacticalgear
  • provamag3
  • lostlight
  • All magazines