2026/02/22

Newest at the top

2026-02-22 14:44:51 +0100 <Leary> Shouldn't be. And yeah, they're there.
2026-02-22 14:39:21 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2026-02-22 14:39:00 +0100 <haskellbridge> <alexfmpe> `ghc-pkg list`
2026-02-22 14:38:52 +0100 <haskellbridge> <alexfmpe> If you haven't, make sure said deps actually are in ghc-pkg
2026-02-22 14:38:44 +0100 <haskellbridge> <alexfmpe> No static vs non static shenanigans?
2026-02-22 14:37:52 +0100 <Leary> Nope, just a bog-standard build of an ordinary haskell package.
2026-02-22 14:37:43 +0100 <haskellbridge> <alexfmpe> e.g. js/wasm backends
2026-02-22 14:37:24 +0100 <haskellbridge> <alexfmpe> shellFor doesn't work with it properly, I don't know why
2026-02-22 14:37:08 +0100 <haskellbridge> <alexfmpe> Huh are you trying to do cross compilation or so?
2026-02-22 14:36:55 +0100 <haskellbridge> <alexfmpe> Ok so it's not direnv going stale either
2026-02-22 14:35:57 +0100 <haskellbridge> <alexfmpe> ^
2026-02-22 14:35:35 +0100 <Leary> Add what? And no.
2026-02-22 14:35:07 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-02-22 14:35:04 +0100 <haskellbridge> <alexfmpe> Btw, are you using direnv?
2026-02-22 14:35:00 +0100Buliarous(~gypsydang@46.232.210.139) Buliarous
2026-02-22 14:34:53 +0100Buliarous(~gypsydang@46.232.210.139) (Server closed connection)
2026-02-22 14:34:24 +0100traxex(traxex@user/traxex) traxex
2026-02-22 14:34:14 +0100 <haskellbridge> <alexfmpe> Might narrow down what the problem is
2026-02-22 14:33:49 +0100 <haskellbridge> <alexfmpe> Add this
2026-02-22 14:32:41 +0100 <haskellbridge> <alexfmpe> Odd
2026-02-22 14:32:15 +0100 <Leary> No dice.
2026-02-22 14:30:04 +0100 <haskellbridge> <alexfmpe> e.g. https://github.com/alexfmpe/obenstein/blob/main/project.nix#L64
2026-02-22 14:29:59 +0100 <haskellbridge> <alexfmpe> Could be, try adding it there
2026-02-22 14:29:21 +0100Pozyomka(~pyon@user/pyon) pyon
2026-02-22 14:28:12 +0100 <Leary> Oh, it's not provided by the shell, perhaps that's the issue?
2026-02-22 14:27:34 +0100 <haskellbridge> <alexfmpe> Where is cabal coming from?
2026-02-22 14:27:17 +0100 <Leary> Yeah.
2026-02-22 14:27:02 +0100 <haskellbridge> <alexfmpe> Leary: hpkg being some haskellPackages or similar?
2026-02-22 14:26:19 +0100 <haskellbridge> <alexfmpe> `active-repositories: :none`
2026-02-22 14:26:13 +0100 <haskellbridge> <alexfmpe> Which you can avoid by stating in cabal.project that cabal should not fetch from anywhere
2026-02-22 14:25:42 +0100 <Leary> I'm using `devShell = hpkg.shellFor { packages = p: [ p.thepackage ]; };`, freshly loaded.
2026-02-22 14:24:58 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2026-02-22 14:24:05 +0100 <haskellbridge> <alexfmpe> What does happen frequently is forgetting to reload the nix shell after editing .cabal and then the output of callCabal2nix is stale so cabal tool tries to get the new deps
2026-02-22 14:22:50 +0100 <haskellbridge> <alexfmpe> I never had this issue with shellFor
2026-02-22 14:22:33 +0100 <haskellbridge> <alexfmpe> How are you getting the nix deps?
2026-02-22 14:19:43 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-02-22 14:19:28 +0100chromoblob(~chromoblo@user/chromob1ot1c) chromoblob\0
2026-02-22 14:18:33 +0100chromoblob(~chromoblo@user/chromob1ot1c) (Ping timeout: 248 seconds)
2026-02-22 14:15:30 +0100Pozyomka(~pyon@user/pyon) (Quit: brb)
2026-02-22 14:09:19 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-02-22 14:05:23 +0100Square3(~Square@user/square) Square
2026-02-22 14:03:15 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-02-22 14:02:59 +0100hellwolf(~user@2826-0651-fbe0-f4a3-0f00-4d40-07d0-2001.sta.estpak.ee) hellwolf
2026-02-22 14:02:45 +0100hellwolf(~user@6bd4-851f-4104-a77b-0f00-4d40-07d0-2001.sta.estpak.ee) (Server closed connection)
2026-02-22 14:02:32 +0100 <Leary> How do I tell cabal to use the deps available via ghc-pkg---do I have no better choice than the v1 commands? The deps are already provided by nix, but cabal wants to rebuild them all anyway...
2026-02-22 14:02:21 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Quit: Leaving...)
2026-02-22 14:00:10 +0100 <lunipaw> I assume this might be due to some breakage I experienced with the ghc provided in the arch repo before I swapped to managing those installs with ghcup
2026-02-22 13:59:37 +0100 <lunipaw> I'm having some issues with haskell lsp and wanted to ask if these are issues with the server or something being wrong on my end, currently the language server autocomplete doesn't recognize packages I imported in my stack project, same if I cabal install the libraries locally. It does for some reason autocomplete functions from the mtl library
2026-02-22 13:55:23 +0100morj(~morj@user/morj) (Quit: Konversation terminated!)
2026-02-22 13:55:05 +0100lunipaw(~lunipaw@2a02-1812-1c1e-100-2ef0-5dff-fee6-1c08.ip6.access.telenet.be)