| 30 Dec 2025 |
sterni | Nix manual I assume | 12:54:05 |
Wolfgang Walther | https://nix.dev/manual/nix/2.19/language/advanced-attributes#adv-attr-structuredAttrs | 12:55:05 |
| amadaluzia[tde] changed their profile picture. | 12:59:17 |
linj | I find this blog very helpful https://nixos.mayflower.consulting/blog/2020/01/20/structured-attrs/ | 13:52:51 |
sterni | We probably (also) have some new Haskell failures on master now with gcc15, so that may be worth checking up on in the coming days. | 18:32:11 |
| Lenny. changed their display name from Lenny. ☎️5665 to Lenny.. | 23:09:43 |
| 31 Dec 2025 |
| das-g changed their display name from das-g (DECT 7881) to das-g. | 22:18:05 |
| 1 Jan 2026 |
| @deb776:tedomum.net | 02:52:05 |
| @deb776:tedomum.net left the room. | 02:53:10 |
| 4 Jan 2026 |
| Find me at aleksana:qaq.li changed their display name from aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) to aleksana 🏳️⚧️ (deprecated). | 17:12:55 |
| Find me at aleksana:qaq.li changed their display name from aleksana 🏳️⚧️ (deprecated) to Find me at aleksana:qaq.li. | 17:14:40 |
| 5 Jan 2026 |
| connor (burnt/out) (UTC-8) joined the room. | 17:56:26 |
| 6 Jan 2026 |
maralorn | So … What is the 2026 way of running doctests as part of my nix-build? | 12:36:15 |
Pierre Thierry | I'm trying to work on monoidal-functors, but although nix build succeeds, doing cabal build either from nix develop or my shell with direnv and use flake fails with
unknown package: these (dependency of monoidal-functors) | 14:44:48 |
toonn | Might Cabal be picking up a different GHC? | 14:46:14 |
Pierre Thierry | It doesn't look like it, cabal --verbose build says
Running: /nix/store/a8h81f4wc2nc8qgrfsxvgfd8has0xh3r-ghc-9.6.3/bin/ghc --print-global-package-db
and the flake says ghc963 | 14:48:51 |
maralorn | Apparently cabal-doctest works. Couldn’t get doctest-discover to run. | 17:19:16 |
maralorn | But I still very much have no idea what I am doing … | 17:19:33 |
| 7 Jan 2026 |
| Sigmanificient joined the room. | 00:25:15 |
Sigmanificient | Hello there, while having a conversation with my coincidentally named counterpart (i remember that), I discovered that haskell packages set has a at least a few packages that we should really not ship, as they has been removed after a report on the [https://github.com/haskell-infra/hackage-trustees/issues/132](hackage-trustees ' Spam/fraudulent issue)
While both examples sigmaSquadron gave me are marked as broken, this is due to dependency mismatch, not that the source is gone, because we have it cached. | 00:30:52 |
SigmaSquadron | Yeah, it's probably not ideal that the channels just randomly have sources for known fraudulent software. | 00:35:11 |
ners | Does anyone have experience with pkgsCross.ghcjs? I'm trying to build a package that indirectly depends on zlib, and getting the following error: no C compiler provided for this platform I can trace the error to here: https://github.com/NixOS/nixpkgs/blob/492f8a5b3855f5d5f3fa4d096acb073ec7c86e17/pkgs/stdenv/cross/default.nix#L118 I think I should be able to use emscripten as a C compiler, any idea how I could wire that up to get zlib to build? | 08:43:37 |
| Acid Bong joined the room. | 15:34:54 |
Acid Bong | evening. what's the current status of Cabal not seeing deps provided by shellFor? I see some suggest v1-* commands to workaround, but they both fail for me:
$ cabal v1-build
Warning: No remote package servers have been specified. Usually you would have
one specified in the config file.
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
[__0] trying: AoC-0.1.0.0 (user goal)
[__1] unknown package: matrix (dependency of AoC)
[__1] fail (backjumping, conflict set: AoC, matrix)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: AoC, matrix
Trying configure anyway.
Configuring AoC-0.1.0.0...
Error: [Cabal-8010]
Encountered missing or private dependencies:
extra (missing), matrix (missing)
1 $ cabal v2-build
Warning: No remote package servers have been specified. Usually you would have
one specified in the config file.
Resolving dependencies...
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: AoC-0.1.0.0 (user goal)
[__1] unknown package: matrix (dependency of AoC)
[__1] fail (backjumping, conflict set: AoC, matrix)
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: AoC, matrix
shell.nix seems to have the necessary tools
{
pkgs ? import <nixpkgs> { },
}:
pkgs.haskellPackages.shellFor {
name = "AoC";
packages = h: [
h.extra
h.matrix
];
nativeBuildInputs = [
# Python
# ...
# Rust
# ...
# Haskell
pkgs.cabal-install
pkgs.haskell-language-server
pkgs.haskellPackages.cabal-fmt
];
}
obviously generating a package recipe and building with Nix works, but i'm using the shell purely to cabal run or cabal repl the respective packages, which doesn't seem to work without fetching the deps from Hackage | 18:00:43 |
maralorn | Acid Bong: The problem is that the packages field in shellFor is not for listing dependencies but for listing the packages you want to be able to build within your shell. | 18:40:11 |
Acid Bong | ah, so a regular mkShell with ghc.withPackages in it is enough? | 20:28:08 |
maralorn | That would probably work, yes. | 20:29:20 |
Acid Bong | bloo-dy-hell, that was so easy 🤦♂️ looks like the shellFor docs are misleading | 20:33:57 |
maralorn | There are many ways to hold this. Surprisingly many of them work but still most don’t. 😄 | 20:37:03 |
| 8 Jan 2026 |
Acid Bong | i wanna file a ticket about ghc.withPackages ignoring installDocumentation = false, but(1) there already exists one, but(2) the author mistook it for a NixOS issue (it's 316768). should we reformat the issue or open a new one? | 20:12:50 |