| 24 Jan 2026 |
andromeda | in a Rust project recently I had something like PATH=something/bin:\$PATH and I just remembered doing that xD | 18:00:20 |
andromeda | how do I build the docs for a haskellPackages.callPackage packageDerivation {} sort of thing? | 18:22:38 |
andromeda | nix build .#default.doc. Why does that work? | 18:24:56 |
Acid Bong | haskell builder always builds docs by default | 18:29:26 |
andromeda | my result only has lib bin and nix-support | 18:34:38 |
andromeda | but when I build default.doc result-doc contains share with the docs inside | 18:35:09 |
Acid Bong | yes, because doc is a separate input | 20:01:51 |
Acid Bong | that's why it goes into the separate gcroot | 20:02:14 |
sterni | well not debacle, but I remember people complaining that cachix docs were installed | 20:20:30 |
andromeda | In reply to @acidbong:envs.net yes, because doc is a separate input what do you mean 'a seperate input?' To which function? can I add .doc to any flake output to build docs if the package has them? | 21:35:29 |
andromeda | I don't understand what the .something in #output.something actuaally represents | 21:37:24 |
Acid Bong | In reply to @andromeda:tchncs.de what do you mean 'a seperate input?' To which function? can I add .doc to any flake output to build docs if the package has them? i meant output, my bad | 21:38:55 |
Acid Bong | In reply to @andromeda:tchncs.de I don't understand what the .something in #output.something actuaally represents https://nixos.org/manual/nixpkgs/unstable/#chap-multiple-output | 21:39:01 |
| 26 Jan 2026 |
LordMZTE | I have a shellFor with withHoogle = true. When I run hoogle using hoogle serve, I have the issue that all link to haddoc are file:// URLs which my browser won't let me click because "security" and also prevent JS from working on those haddoc pages. Is it possible to make hoogle perhaps serve these files and link to that?
| 12:00:00 |
LordMZTE | Ah whoops there's --local, must've missed that when I first skimmed --help.
| 12:01:06 |
| ciznia joined the room. | 12:03:40 |
maralorn | sterni: I noticed, that nixpkgs knows more SPDX identifiers than cabal. Do you think we could extend cabal2nix to parse identifiers based on availability in nixpkgs? | 12:25:18 |
sterni | We can’t parse SPDX identifiers Cabal doesn’t know, no. At least not without maintaining a downstream SPDX parser | 13:22:45 |
maralorn | But the parser would simply need to know the list of known SPDX identifiers in nixpkgs, right? | 14:35:25 |
maralorn | That’s not hard to implement is it? | 14:35:40 |
| John ✒️ joined the room. | 16:52:34 |
John ✒️ | I see that there's a newer pandoc in nixpkgs under haskellPackages.pandoc_3_8_2_1, but when I try to use it with nix-shell -p it fails to build due to "missing or private dependencies." Is it just broken or is there a way to use this newer release? | 16:55:15 |
maralorn | John ✒️: It is then probably broken, these versioned attributes are autogenerated but normally unmaintained/curated. Using the newer release would probably requiring fixing the build. It doesn’t need to be hard but would require a bit of tinkering. | 17:17:40 |
| 27 Jan 2026 |
woobilicious | the mighttpd2 package default output only has some build artifacts in it, I think it needs to default to 'bin', and have it's mainProgram set | 05:32:45 |
sterni | woobilicious: that's just the library it also exposes, but should be easy to add a bin output and set mainProgram manually (since it can't be determined automatically). | 10:03:30 |
John ✒️ | I guess this is the relevant issue. | 13:54:08 |
John ✒️ | * I guess this is the relevant issue (regarding newer pandoc releases). | 13:54:33 |
maralorn | Correct. | 14:01:02 |
alexfmpe | well poop, looks like running iserv-proxy for cross template haskell requires __darwinAllowLocalNetworking = true on the package that uses TH, maybe we'll want that whole "use unix domain socket" bit sooner than expected we hadn't noticed this before we couldn't even try it a) cross from aarch64-darwin is broken alltogether: https://gitlab.haskell.org/ghc/ghc/-/issues/24939 b) the 'soft' cross of pkgsStatic was also broken: https://github.com/NixOS/nixpkgs/pull/484571 | 23:14:31 |
alexfmpe | * well poop, looks like running iserv-proxy for cross template haskell requires __darwinAllowLocalNetworking = true on the package that uses TH, maybe we'll want that whole "use unix domain socket" bit sooner than expected
we hadn't noticed this before because we couldn't even try it a) cross from aarch64-darwin is broken alltogether: https://gitlab.haskell.org/ghc/ghc/-/issues/24939 b) the 'soft' cross of pkgsStatic was also broken: https://github.com/NixOS/nixpkgs/pull/484571
| 23:14:56 |