!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

719 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/143 Servers

Load older messages


SenderMessageTime
27 Dec 2024
@lenny:flipdot.orgLenny. changed their display name from Lenny. to Lenny. [9731 DECT].12:33:08
@pyriphlegeton:matrix.orgLinus Pleyer changed their display name from pyriphlegeton to Linus Pleyer.23:20:05
28 Dec 2024
@symphorien:xlumurb.eusymphorien joined the room.22:21:04
30 Dec 2024
@sternenseemann:systemli.orgsterni (he/him)Iteration looks pretty good, may make sense to merge it without to GHC 9.12 fixes, so we'd make the next staging-next with this. I'm mostly waiting on reviews for jailbreak-cabal on that and the GHA workflow change, but that'll happen once the collective 38c3 sleep deficit has been compensated…12:23:34
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 3538 / EPVPN 2681) to raitobezarius.16:25:48
@lenny:flipdot.orgLenny. changed their display name from Lenny. [9731 DECT] to Lenny..17:28:56
@prsteele:matrix.orgPatrick Steele It seems like shellFor isn't including benchmark dependencies, even when I have doBenchmark = true; included. Any thoughts on debugging this? 21:41:49
@prsteele:matrix.orgPatrick Steele It's failing to find criterion, which is included as a benchmark dependency. If I add criterion as a library dependency, cabal bench works fine. So it seems like my cabal file is okay... 21:44:34
@numinit:matrix.orgMorgan (@numinit) joined the room.22:25:05
31 Dec 2024
@sternenseemann:systemli.orgsterni (he/him)Where are you setting doBenchmark?11:19:22
@sternenseemann:systemli.orgsterni (he/him) MangoIV: why does htree have a lower bound base >= 4.20? 🤨 12:42:59
@mangoiv.:matrix.orgMangoIV
In reply to @sternenseemann:systemli.org
MangoIV: why does htree have a lower bound base >= 4.20? 🤨
I recently bumped and it uses RequiredTypeArguments now. You Can use 1.x if you don’t want the high bound
12:44:36
@sternenseemann:systemli.orgsterni (he/him)ok, 4.20 is 9.8?13:49:04
@alexfmpe:matrix.orgalexfmpe4.20 9.10, 4.19 9.813:53:47
@alexfmpe:matrix.orgalexfmpehttps://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history13:53:49
@mangoiv.:matrix.orgMangoIV I think RequiredTypeArguments was 910, no? 14:21:19
@alexfmpe:matrix.orgalexfmpeYop14:25:08
@alexfmpe:matrix.orgalexfmpehttps://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/required_type_arguments.html14:25:10
@mangoiv.:matrix.orgMangoIV Then it should be all good 14:38:34
@siraben:matrix.org@siraben:matrix.org left the room.14:51:26
@megmug:matrix.org@megmug:matrix.orgHello there, is anyone experiencing issues with vscode + HLS on nixos 24.11? I am using a nix-shell for my project and trying to use HLS provided by nix along with vscode provided by ubuntu snap. HLS often hangs and does nothing, bottom left corner "processing 1/x", leading to broken Haskell extension functionality in vscode. Sometimes it works, but most often it doesn't, and even if it works it starts to break soon after. I have tried starting vscode from a nix-shell (direnv disabled) as well as with direnv plugin. Both exhibit same behaviour16:55:35
@alexfmpe:matrix.orgalexfmpeTry running "haskell-language-server" on the nix shell and see if there's any obvious error in logs17:01:52
@alexfmpe:matrix.orgalexfmpeAre you getting HLS from haskellPackages or haskell.packages.${compiler} ?17:02:19
@alexfmpe:matrix.orgalexfmpeMight want to add a manual hie.yaml to narrow things down, especially if using a multi component project17:03:01
@megmug:matrix.org@megmug:matrix.orgRunning it on the terminal, it outputs a lot of stuff, then "Completed (6 files worked, 0 files failed)" which checks out, since the project has 6 files as of now17:04:46
@megmug:matrix.org@megmug:matrix.orgIt is haskellPackages.haskell-language-server17:05:21
@alexfmpe:matrix.orgalexfmpeMake sure your extension is loading HLS from $PATH17:06:12
@megmug:matrix.org@megmug:matrix.orgHm, the project has 2 executables and 1 library folder and is built using stack. The manual stack build also succeeds17:06:33
@megmug:matrix.org@megmug:matrix.orgYes, it does that - already stumbled over that in the past 😅17:07:03
@alexfmpe:matrix.orgalexfmpeAh I dunno about stack, but if it worked on the terminal it's probably the extension that's borked17:07:05

Show newer messages


Back to Room ListRoom Version: 6