Haskell in Nixpkgs/NixOS | 729 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | 147 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Jan 2026 | ||
| 02:04:12 | |
| someone's already opened an issue about this upstream | 02:11:34 | |
| * someone's already opened an issue about this upstream as for a fix, you can always increase the tick tolerance as specified in the error message above or reduce inlining in | 02:12:23 | |
so i'm trying to fix a package that requires random>=1.3 as a dependency but the version of random in nixpkgs is 1.2. what's the best practice here? do i: | 02:19:34 | |
| * so i'm trying to fix a package that requires
| 02:21:05 | |
| * so i'm trying to fix a package that requires
i couldn't find specific guidance on | 02:23:40 | |
| 02:33:02 | ||
| 02:34:54 | ||
| 02:36:52 | ||
| @aiya:catgirl.cloud: random_1_3_1 is already there (I think because haskellPackages by default include LTS versions and latest versions too) | 04:56:53 | |
| trying to fix liquidhaskell in nixpkgs in the light of https://github.com/ucsd-progsys/liquidhaskell/issues/2188: https://github.com/NixOS/nixpkgs/pull/479484 | 20:52:29 | |
| 13 Jan 2026 | ||
| 17:03:17 | ||
| 17:03:29 | ||
| 17:59:55 | ||
| 18:00:46 | ||
| 18:02:01 | ||
| 16 Jan 2026 | ||
| 12:37:05 | ||
| 19 Jan 2026 | ||
| 00:08:13 | ||
| 20 Jan 2026 | ||
| hls 2.13.0.0 adds support for ghc 9.14 which would be nice to have because of the haskell debugger. https://github.com/haskell/haskell-language-server/releases/tag/2.13.0.0 is there anything I can do to accelerate having that land? | 08:45:08 | |
| the haskell debugger, forgot about that one, cant wait to try it | 12:50:58 | |
| 21:25:05 | ||
| 21 Jan 2026 | ||
| Would it be worthwhile to add a nix expression that allows one to use ghc nightly bindists with nix? It would basically be the same as the current binary ones but targeting HEAD. I wanted to get your thoughts on this before implementing anything. I basically need to maintain this for head.hackage anyway | 14:01:16 | |
| * Would it be worthwhile to add a nix expression that allows one to use ghc nightly bindists with nix? It would basically be the same as the current binary ones but targeting HEAD. I wanted to get your thoughts on this before opening a PR. I basically need to maintain this for head.hackage anyway | 14:01:41 | |
is there an easy way to get a git version of a cabal library? I would like to use optics with GHC 9.12 but it needs this commit to pass the tests. | 14:04:26 | |
| Something like this? https://github.com/maurges/re/blob/5f92f51cd437664e961b45cb2e7908e3c1bdadca/default.nix#L6-L13 | 14:17:13 | |
that looks plausible, does it work in haskellPackages.mkDerivation as well? | 14:26:07 | |
Huh, I have also stumbled over the optics problem. I resolved to use 9.10 instead, but that sucks because of missing hlint support in hls on that ghc. | 14:29:47 | |
| I like how developPackage is only documented on the wiki, and mkDerivation is only documented in the nixpkgs manual | 14:33:01 | |
| With mkDerivation can't you just supply the fetchTarball to libraryDepends? | 14:34:31 | |
| I tried this:
but it fails:
| 14:34:34 | |