| 21 May 2025 |
maralorn | Also, which is the correct branch to PR to to add something to the 2505 release notes, right now? | 18:23:40 |
maralorn | release-25.05? | 18:24:37 |
emily | master | 18:28:16 |
emily | and backport it | 18:28:17 |
emily | otherwise it gets inconsistent across branches | 18:28:20 |
| 23 May 2025 |
| TheTaoOfSu joined the room. | 13:41:38 |
TheTaoOfSu | 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 | ghcup is unmaintained on nixos because there is no working binary distribution of ghc for nixos. | 17:13:10 |
maralorn | The 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 | Yeah, that'd make sense. Oh well, I guess it shouldn't matter a ton for me anyway | 17:15:38 |
TheTaoOfSu | ...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 | And it's complaining about not having ghc984, which isn't even in 24.11, that's cool | 19:25:27 |
maralorn | If you installed stack trough your nix-shell you should disable the nix integration in stack. | 20:08:40 |
TheTaoOfSu | How does stack expect to do nix integration while not being installed through nix? | 20:09:14 |
TheTaoOfSu | I guess some people could be using it in other distros | 20:09:23 |
TheTaoOfSu | But 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 there | 20:10:28 |
maralorn | I 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 | Oh, no, I take it back, here's a warning about it, I think | 20:10:47 |
TheTaoOfSu | Yeah, it's because I'm using stable channels instead of unstable | 20:11:23 |
TheTaoOfSu | 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 | Phew | 20:12:44 |
winston | did you see https://docs.haskellstack.org/en/stable/topics/nix_integration/#supporting-both-nix-and-non-nix-developers ? | 20:15:38 |
winston | I remember using that template when I used stack, found it useful back then | 20:15:54 |