| 21 Mar 2025 |
emily | I think the rewrite is not really production-ready either, you'd probably want to look at deploy-rs or colmena | 11:03:09 |
emily | but those do not have deep provider integration, you might have to supplement with something like Terraform or Pulumi | 11:03:50 |
| Domen Kožar changed their profile picture. | 11:39:36 |
@dmjio:matrix.org | Yea true, but it's been that way for a while... its still so good because its all Nix (imo). I will try the NixOS channel. Might just pin to an old hash in the meantime. Thank you for context. | 15:06:56 |
| 22 Mar 2025 |
| @mombaby:matrix.org left the room. | 05:40:43 |
| thomie joined the room. | 18:48:24 |
| 23 Mar 2025 |
| @iampyu:matrix.org left the room. | 15:18:07 |
| 24 Mar 2025 |
| @eisfunke:eisfunke.com changed their display name from Nicolas Lenz to Nicolas. | 13:41:00 |
| 27 Mar 2025 |
hellwolf | been a little quiet this week here... may I ask when can we expect nixpkgs Haskell to 9.8? | 12:24:07 |
maralorn | Well, it’s ready when it’s ready. 😄 | 12:33:18 |
maralorn | I think we can do it soon. | 12:33:55 |
maralorn | But I don’t think there is any progress being made because no one has time for it. | 12:34:32 |
maralorn | * But I don’t think there is any progress being made because no one has time for it, currently. | 12:34:40 |
maralorn | I will try to get to it. | 12:40:33 |
hellwolf | what's the good-to-go signal? I am looking at https://github.com/cdepillabout/nix-haskell-updates-status | 12:42:33 |
hellwolf | """ 🔴 Branch not mergeable
mergeable jobset failed.
maintained jobset failed.
"""
I guess this is the no-go reason?
| 12:43:02 |
maralorn | Yes | 12:46:51 |
| 28 Mar 2025 |
| @bowuigi---now-more-based:kde.org left the room. | 17:46:26 |
| Rayane Nakib (ريّان نقيب) changed their display name from Rayane Nakib (ريان نقيب) to Rayane Nakib (ريّان نقيب). | 22:51:53 |
| 30 Mar 2025 |
a12l | I'm currently doing Exercism's Haskell exercises. They use stack (lts-20.18) for setting up dependencies etc. What's the best way to integrate it with Nix? If it's possible I simple want some tool that automatically download and install the correct version of GHC, HLS, and the dependencies for the project | 15:54:45 |
a12l | Each Exercise is small, so I want to do minimal amount of time and space to setup the toolchain for that exercise. | 15:56:07 |
a12l | If I'd GHCUp it looks like it would work flawlessly, but from what I gather it doesn't work on NixOS? | 15:59:38 |
Alex | In reply to @a12l:matrix.org If I'd GHCUp it looks like it would work flawlessly, but from what I gather it doesn't work on NixOS? Unless it does something special on NixOS (I know modern Stack does), the GHC binaries that ghcup downloads are almost certainly dynamically linked and for that reason alone will not work.
Only fully statically linked executables work as-is on NixOS because they don't hardcode assumptions about how files are organised on the host.
GHC does more though: it needs to execute a C compiler and AFAIK that compiler cannot live in the same executable. Most NixOS systems don't have any C compiler installed in an easy-to-find location. | 16:50:53 |
Alex | In reply to @a12l:matrix.org I'm currently doing Exercism's Haskell exercises. They use stack (lts-20.18) for setting up dependencies etc. What's the best way to integrate it with Nix? If it's possible I simple want some tool that automatically download and install the correct version of GHC, HLS, and the dependencies for the project Have you tried using Stack on NixOS?
It might just work. I'm not sure.
You should get Stack from Nixpkgs, not from ghcup. | 16:52:47 |
a12l | My current setup is having added
environment.systemPackages =
[
pkgs.ghc
pkgs.cabal-install
pkgs.haskell-language-server
pkgs.haskellPackages.hlint
pkgs.stack
];
in my NixOS config. When I run the tests by executing stack test in the exercise dir everything seems to work, it runs the test with GHC 9.2 (I've 9.6 globally installed) with dependencies.
But from what I understand, I've HLS compiled against my globally installed GHC version (9.6) instead of the one used in the project (9.2). Not 100 percent sure about that. Does HLS need to be specified in some stack file for it to installed?
| 17:35:18 |
Alex | I don't know about Stack's ability to pull HLS, but you can override the HLS package to enable other compiler versions. | 17:36:25 |
chreekat | It's possible, but not straightforward. To have to add the right version of hls to the nix shell that stack automatically uses on nixos | 19:22:35 |
chreekat | * It's possible, but not straightforward. You have to add the right version of hls to the nix shell that stack automatically uses on nixos | 19:22:47 |
Alex | Not really. You can just enable all versions and I think the wrapper should pick the right version? | 19:37:06 |
chreekat | Mmh first of all, what I said was wrong because stack's nix shell won't help when it comes to enabling hls for an editor | 19:47:58 |