HVR (@hvrgnu) profile picture

Lazy functional tweeter

Vienna, Austria
Joined October 2015
Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)Photo by HVR (@hvrgnu)
Whirlwind Tour Of Cabal For Beginners buff.ly/3iN7VgT
1
5
1
11
Replying to @maksbotan @A64mQ
btw, if you use workflows that demand closed-world build-plans (and don't achieve that via file+index:// repos), a useful feature not mentioned by the article you might find useful is cabal.readthedocs.io/en/late…
1
5
Are you aware of downloads.haskell.org/debian… ? It doesn't get easier and more idiomatic than that on Debian IMO.
2
Replying to @pitopos
Fwiw, even though this is yet another thing hlint's defaults keep hatin' my source for, I'm quite happy using U+0027 as prefix-separator in my record fields and constructor names, as in e.g. hackage.haskell.org/package/… this trades some verbosity for less cognitive overhead ftw! :-)
1
5
...ok, but why insist on forcing a provably incompatible version instead of using version 0.6.0.1 of hackage-security that contains fixups to be *actually* compatible with GHC 8.10's TH API? ;-) hackage.haskell.org/package/…
1
1
#Haskell (ghc-8.10.1) / #Cabal 3.2 / #Xmonad 0.15 Tip of the day: cabal install -z --lib --package-env=$HOME/.xmonad/ --allow-newer=setlocale-1.0.0.9:base xmonad xmonad-contrib This will create a CWD-style GHC pkg-env file which will be picked up by `xmonad --recompile` &al.
1
7
This has been debunked many times so just to remind: The problem is that even small chances of failures add-up and propagate through the dep-graph harming/annoying everyone & the longer a semantically unsound buildplan is allowed to circulate, the more costly it becomes to repair
1
2
All but the "cabal-install-head" package are supposed to be stable releases (or stable release candidates); if you've run into problems please file a report over at github.com/haskell/cabal/iss… and tell us `cabal --version` as well as the output of `dpkg -l 'cabal-install-*'` !
1
Replying to @NathanLander
Sure, make sure /opt/ghc/bin is in your path, then you can use a `-w ghc-7.8.4` CLI flag on the fly to quickly switch between ghc versions or put packages: . with-compiler: ghc-7.8.4 into your per-project `cabal.project` configuration file; see also qfpl.io/posts/multiple-ghcs/
1
3
HVR retweeted
Replying to @bgamari
I'd like to plug a friendly reminder that you can get convenient .deb packages for brand new #Haskell GHC 8.8.3 and Cabal 3.2 releases built appositely for your specific #Debian and #Ubuntu releases from our Apt repositories; see downloads.haskell.org/debian… for more details!
4
9
Replying to @bgamari
I'd like to plug a friendly reminder that you can get convenient .deb packages for brand new #Haskell GHC 8.8.3 and Cabal 3.2 releases built appositely for your specific #Debian and #Ubuntu releases from our Apt repositories; see downloads.haskell.org/debian… for more details!
4
9
Replying to @bgamari
...but are you *really* sure that you built the GHCHQ src+bindist tarballs from that very commit hash and not the one that had been sitting on the ghc/8.8 branch tip until a couple minutes ago, and that now we either need to move the Git tag or scrap the GHCHQ tarball dists?
1
Replying to @bgamari
I've got about a dozen binary builds for Debian & Ubuntu lined up but something's looking inconsistent; can you state which Git commit hash the GHC 8.8.3 release is supposed to be derived from?
1
1
IMO @_osa1 makes a good case that the overall cost&issues of adding seemingly neat syntax variations to the language extends far beyond an innocent looking 10-line patch (whose OP might not even be involved w #haskell anymore) and isn't taken srsly enough osa1.net/posts/2020-01-22-no…
2
11
We've put together an Awesome list of resources for the #Haskell Cabal build tool 💫 Discover incredible tools and helpful guides all in one place! And help us to make it even more awesome💅 Share your amazing work if it's anyhow related to Cabal! kowainik.github.io/projects/…
1
19
1
48
Pleased to say that three and a half months later, we have officially switched to using `cabal-install` instead of `stack` at @HasuraHQ! 🎉 github.com/hasura/graphql-en…
I’ve been having a crisis of faith in `stack` recently. The UX for beginners is still way better than `cabal-install`, but recent changes have burned me… the removal of `stack solver` sucks, `stack exec` is broken with no workaround, and as of 2.x you can’t uninstall packages!
3
9
48
🆕 Blog post time! I wrote about a nice feature for your #Haskell package configurations — "Common Stanzas". Step by step integration showcase and alternative examples (featuring #Dhall) are included. vrom911.github.io/blog/commo…
2
23
2
61
Well... I *did* such a PR long ago already... but for some reason it wasn't merged back then... :-( github.com/actions/cache/pul…
1
1
4