!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

710 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/144 Servers

Load older messages


SenderMessageTime
24 Jan 2026
@andromeda:tchncs.deandromeda in a Rust project recently I had something like PATH=something/bin:\$PATH and I just remembered doing that xD 18:00:20
@andromeda:tchncs.deandromeda how do I build the docs for a haskellPackages.callPackage packageDerivation {} sort of thing? 18:22:38
@andromeda:tchncs.deandromeda nix build .#default.doc. Why does that work? 18:24:56
@acidbong:envs.netAcid Bonghaskell builder always builds docs by default18:29:26
@andromeda:tchncs.deandromeda my result only has lib bin and nix-support 18:34:38
@andromeda:tchncs.deandromeda but when I build default.doc result-doc contains share with the docs inside 18:35:09
@acidbong:envs.netAcid Bong yes, because doc is a separate input 20:01:51
@acidbong:envs.netAcid Bongthat's why it goes into the separate gcroot20:02:14
@sternenseemann:systemli.orgsterniwell not debacle, but I remember people complaining that cachix docs were installed 20:20:30
@andromeda:tchncs.deandromeda
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:tchncs.deandromeda I don't understand what the .something in #output.something actuaally represents 21:37:24
@acidbong:envs.netAcid 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
@acidbong:envs.netAcid 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
20 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".22:10:58
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".22:10:58
@grahamc:nixos.org@grahamc:nixos.org invited @maralorn:maralorn.demaralorn.22:11:05
@maralorn:maralorn.demaralorn joined the room.22:11:13
@andi:kack.itandi- joined the room.22:30:49
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.22:36:42
Room Avatar Renderer.22:46:20
@maralorn:maralorn.demaralorn changed the join rule to "public" from "public".22:54:26
@maralorn:maralorn.demaralorn changed the room topic to "For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/" from "For discussions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/".22:56:19
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.23:05:49
@pennae:matrix.eno.spacepennae joined the room.23:06:26
@justinrestivo:matrix.orgjustinrestivo joined the room.23:07:39
@srid:matrix.orgsrid joined the room.23:07:41
@_xmpp_qy=40xa0.uk:matrix.orgbqv joined the room.23:08:26
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from qy to bqv.23:08:27
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from bqv to qy.23:08:28
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from qy to bqv.23:08:29

Show newer messages


Back to Room ListRoom Version: 6