!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

You have reached the beginning of time (for this room).


SenderMessageTime
21 May 2025
@maralorn:maralorn.demaralornAlso, which is the correct branch to PR to to add something to the 2505 release notes, right now?18:23:40
@maralorn:maralorn.demaralornrelease-25.05?18:24:37
@emilazy:matrix.orgemily master 18:28:16
@emilazy:matrix.orgemilyand backport it18:28:17
@emilazy:matrix.orgemilyotherwise it gets inconsistent across branches18:28:20
23 May 2025
@thetaoofsu:matrix.orgTheTaoOfSu joined the room.13:41:38
@thetaoofsu:matrix.orgTheTaoOfSu What's up with not being able to use ghcup due a broken package it doesn't depend on? I'm trying to nix-shell -p haskellPackages.ghcup, and it's refusing because haskus-utils-variant-3.5 is marked broken, but... I can't find a connection. 17:12:20
@maralorn:maralorn.demaralornghcup is unmaintained on nixos because there is no working binary distribution of ghc for nixos.17:13:10
@maralorn:maralorn.demaralornThe problem is that nixos has no predictable path for system libraries to link against and there are is no completely statically linked build of ghc.17:14:28
@thetaoofsu:matrix.orgTheTaoOfSuYeah, that'd make sense. Oh well, I guess it shouldn't matter a ton for me anyway17:15:38
@thetaoofsu:matrix.orgTheTaoOfSu ...how on earth does Stack install through nix-shell and then throw a nix error when I try to run it? 19:25:08
@thetaoofsu:matrix.orgTheTaoOfSuAnd it's complaining about not having ghc984, which isn't even in 24.11, that's cool19:25:27
@maralorn:maralorn.demaralornIf you installed stack trough your nix-shell you should disable the nix integration in stack.20:08:40
@thetaoofsu:matrix.orgTheTaoOfSuHow does stack expect to do nix integration while not being installed through nix?20:09:14
@thetaoofsu:matrix.orgTheTaoOfSuI guess some people could be using it in other distros20:09:23
@thetaoofsu:matrix.orgTheTaoOfSuBut either way, I did it the way described in the NixOS wiki page on Haskell. I would think that, at least, would work properly without config. It certainly doesn't mention any there20:10:28
@maralorn:maralorn.demaralornI don’t think that’s impossible … But the nix-integration is not something which nixos or nixpkgs injects into stack. Instead that is just a feature built into stack.20:10:34
@thetaoofsu:matrix.orgTheTaoOfSuOh, no, I take it back, here's a warning about it, I think20:10:47
@thetaoofsu:matrix.orgTheTaoOfSuYeah, it's because I'm using stable channels instead of unstable20:11:23
@thetaoofsu:matrix.orgTheTaoOfSu They say to control it through stack.yaml, but one of the commands that's broken by it is stack new, so I'll have to write a starter myself 20:12:25
@maralorn:maralorn.demaralornPhew20:12:44
@winston:winston.shwinston did you see https://docs.haskellstack.org/en/stable/topics/nix_integration/#supporting-both-nix-and-non-nix-developers ? 20:15:38
@winston:winston.shwinstonI remember using that template when I used stack, found it useful back then20:15:54

Show newer messages


Back to Room ListRoom Version: 6