!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

700 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure137 Servers

Load older messages


SenderMessageTime
25 Feb 2026
@b:chreekat.netchreekatHF pays :318:16:49
@maralorn:maralorn.demaralornProbably still not as good as the other client. 😆18:21:56
@dandart:matrix.orgVoid Ember changed their display name from Void Mona(d) to Void Ember.19:11:27
26 Feb 2026
@b:chreekat.netchreekat sterni: https://github.com/commercialhaskell/all-cabal-hashes/commit/e89f69681f6366e77ab017b8b496c4ee2c6825b5 10:19:40
@sternenseemann:systemli.orgsternigreat thank you! did not get my change cleaned up in time…11:44:39
@b:chreekat.netchreekatYou should use casa! It also needs an update, but it's the superior, undocumented choice to all-cabal-hashes imo12:37:51
@b:chreekat.netchreekatI'm gonna get it (casa.stackage.org) up to speed next12:38:33
@sternenseemann:systemli.orgsterniis it documented anywhere?13:42:26
@sternenseemann:systemli.orgsternibut I do not think we actually need it, the hackage index has everything we need nowadays as long as the index state timestamp is reliable but should be ok13:43:03
@b:chreekat.netchreekatJust a couple old blog posts13:44:51
@b:chreekat.netchreekat Interesting. I did not know you could just go straight to hackage now. I know that casa solved problems when it was developed, the same problems all-cabal-hashes was supposed to solve 13:50:12
@teoc:matrix.orgteo (they/he)I think the issue that all-cabal-hashes solves (for nix) is that you want to map a package name and revision to a cabal file hash at nix eval time, which I don't think you can do with casa without IFD14:29:34
@b:chreekat.netchreekatTrue, you probably need dynamic drvs in order to follow the chain from a fod that pulls the top of the tree to all the other fods that describe the package source15:25:26
@maralorn:maralorn.demaralornDynamic drvs are not allowed on hydra, are they?15:27:14
@b:chreekat.netchreekatI assume not, but at least it's theoretically more pleasing than ifd15:36:57
@b:chreekat.netchreekatSo, I will carry on dreaming 😄15:37:30
@toonn:matrix.orgtoonn Recursive Nix was another such dream. 16:00:06
@maralorn:maralorn.demaralornIsn’t even basically the same?16:10:26
@toonn:matrix.orgtoonn Both of them and IFD basically achieve the same thing AFAIK. 16:12:31
@toonn:matrix.orgtoonn Different trade-offs to reach at least similar goals. 16:12:49
@sternenseemann:systemli.orgsterniwe can't even do that since the database is not available at eval time (it's a derivation after all)16:13:04
@sternenseemann:systemli.orgsternibut yes, we need to figure out the latest package version and revision for a package with the sha256 hash of the cabal file (in case it is revised) and the sdist when generating hackage-packages.nix16:14:24
@sternenseemann:systemli.orgsterniI don't know if historically something was missing from the cabal-install database or restricting it to a specific state was too complicated, but it seems like we can get all the information we need from the index now.16:16:10
@sternenseemann:systemli.orgsterniwith the slight downside that it needs to be managed on the developer's machine by cabal-install since there's no way to fetch a specific version of the index16:16:43
@sternenseemann:systemli.orgsterniI think we are going to need all-cabal-hashes going forward for callHackage anyway, a nicer alternative there would be useful16:17:05
@teoc:matrix.orgteo (they/he)Yeah good point! Tbh maybe we could just require people put the hash into the callHackage call and then not have to do any of this?16:19:23
@sternenseemann:systemli.orgsterniyeah that already exists16:41:17
@sternenseemann:systemli.orgsternii think retaining that feature is not that interesting since the snapshot you’re getting is always outdated by a week at least16:42:11
@maralorn:maralorn.demaralornidk, sometimes you want a newer version of something which is pinned in stackage but the newest _version doesn’t cut it.17:00:45
@maralorn:maralorn.demaralornI use the hash based pinning quite regularly.17:00:58

There are no newer messages yet.


Back to Room ListRoom Version: 6