Haskell in Nixpkgs/NixOS | 722 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | 145 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 May 2025 | ||
| how would one statically compile all deps (except libc)? with just ghc directly? I guess my current issue is that pkgsStatic.ghc.withPackages is missing. | 03:38:02 | |
| 03:47:32 | |
woobilicious: does it evaluate if you remove p.bytestring from the list? | 08:54:55 | |
In reply to @woobilicious:matrix.org
| 09:40:04 | |
GHC 9.10.2 ships text 2.1.2 so we have all the annoying show breakage from 9.12 also there now | 10:06:31 | |
| Ahh okay, Yeah I just want ghc, I don't have a package at the moment. | 11:27:35 | |
| Removing bytestring allowed it to eval, so that explains it. | 11:29:29 | |
| 5 May 2025 | ||
| default ghc 9.8 has reached master and is heading for nixos-unstable. 🎉 | 08:08:28 | |
| Argh, my server seems to be replaying the event history in this room … | 09:39:42 | |
| 15:00:30 | ||
| I canceled https://hydra.nixos.org/jobset/nixpkgs/haskell-updates for now, until we catch up with the staging-next merge. Hydra has 400k long queue now. While most of that's cached, it takes time. And building the haskell jobset could slow it significantly, I think. (it really was building already) | 15:03:22 | |
| 6 May 2025 | ||
| 03:06:34 | ||
| It's much better now. Restarted the jobs. | 05:11:45 | |
| 07:46:49 | ||
| does anyone have an example of a nix flake which uses haskell-flake and installs bash completions with the package? | 07:47:14 | |
| λlice: Do you mean generating completion for optparse applicative parameters? There is a helper for that in nixpkgs, but I don’t know how to integrate it with haskell-flake. There might be other venues, where there is more discussion about haskell-flake, the readme is e.g. linking a zulip, since the maintainer of haskell-flake is banned from nixos community rooms. | 07:54:59 | |
| yeah i mean im not particularly eager to interact with the dev | 07:55:37 | |
| but yes that's exactly my usecase. could u link the helper? | 07:56:14 | |
| https://nixos.org/manual/nixpkgs/unstable/#haskell-package-set-lib-functions | 07:58:15 | |
| The ominously named file "haskell-modules/configuration-nix.nix" somewhere in nixpkgs contains plenty usage examples. | 07:59:19 | |
| tysm ! | 07:59:57 | |
| Could I get invite to #users:nixos.org channel please? | 08:40:53 | |
| oh, is that why i can't join the new version? it's invite-only now? | 09:12:17 | |
| Yes due to spam | 09:14:34 | |
| Is there a documented way to get an invite?^^ | 09:41:24 | |
| I’d also be interested. 😄 | 09:41:34 | |
| Pinging K900 in off-topic is what I've seen. | 09:45:16 | |
| I asked in #matrix-discussion:nixos.org | 14:11:29 | |
| Hey 👋 please delete if it's not allowed but we recently put up a job ad for an SRE at our company: https://artificiallabsltd.teamtailor.com/jobs/5882832-site-reliability-engineer-sre which is basically a Nix+Haskell job (with some more usual suspects like Terraform, Docker, Buildkite, AWS) | 17:12:38 | |
| Hello, does anyone have experience with building haskell on macOS? This project compiles fine on linux where nix uses gcc by default. it fails on darwin however as the default compiler there is clang.
The system has a linux builder vm with nix-darwin enabled but I dont think its related to this error. | 20:33:41 | |