| 30 Dec 2023 |
asymmetric | Robert Hensing (roberth): about https://github.com/NixOS/nixpkgs/pull/167670#issuecomment-1872501084, do you mean that you'd like to see more documentation before this is exposed to users? | 10:54:19 |
asymmetric | * Robert Hensing (roberth): about https://github.com/NixOS/nixpkgs/pull/167670#issuecomment-1872501084, do you mean that you'd like to see more documentation before this is exposed to lots users via 2023 recap? | 10:54:32 |
asymmetric | * Robert Hensing (roberth): about https://github.com/NixOS/nixpkgs/pull/167670#issuecomment-1872501084, do you mean that you'd like to see more documentation before this is exposed to lots of users via 2023 recap? | 10:54:42 |
roberth | Just to set expectations in the recap | 10:54:44 |
roberth | I think it's sufficiently documented | 10:54:53 |
roberth | Though maybe the part about it consisting of a single derivation isn't actually | 10:55:34 |
roberth | hmm | 10:55:38 |
asymmetric | Robert Hensing (roberth): afaict this is ready to be merged, do you agree? https://github.com/NixOS/nixpkgs/pull/277171 | 11:42:19 |
asymmetric | if so i'll reopen and merge | 11:42:22 |
roberth | maybe I overreacted. The pr was probably fine | 11:43:52 |
Chris McDonough | asymmetric: i have something of a competing PR (a bit silly) at https://github.com/NixOS/nixpkgs/pull/277534 ... i think it atually addresses most of your comments, but likely none of Robert's | 12:17:51 |
Chris McDonough | i think it improves on the original PR by specifying whether the derivaion produced will be a file or a directory, and demonstrates how you might use bare writeTextFile to do the job of each writeText*/writeScript*/writeShellScript* function | 12:20:16 |
Chris McDonough | it also breaks out each function into a top-level thing | 12:20:52 |
Chris McDonough | ah nevermind i did not notice it was already merged. i will propose another pr against master. | 12:24:47 |
Chris McDonough | or was it? i guess he just closed it instead. | 12:29:52 |
| Julien changed their display name from Julien - DECT 4575 to Julien. | 18:43:51 |
| raitobezarius changed their display name from raitobezarius (DECT 2128) to raitobezarius. | 19:53:20 |
| 31 Dec 2023 |
aos | Hey y'all - quick question: is there a way to build the nixpkgs manual using the provided flake? I see in https://github.com/NixOS/nixpkgs/blob/34d3d09834b52db5da25fb6f36055f4971709ee3/flake.nix#L57-L62 that the output: htmlDocs is exposed, but I don't think it's possible to build it? I tried nix build .#htmlDocs on a local checkout of nixpkgs repo, but that doesn't work | 17:28:51 |
danielsidhion | In reply to @aos1:matrix.org Hey y'all - quick question: is there a way to build the nixpkgs manual using the provided flake? I see in https://github.com/NixOS/nixpkgs/blob/34d3d09834b52db5da25fb6f36055f4971709ee3/flake.nix#L57-L62 that the output: htmlDocs is exposed, but I don't think it's possible to build it? I tried nix build .#htmlDocs on a local checkout of nixpkgs repo, but that doesn't work htmlDocs is not a derivation - the error you got when running nix build .#htmlDocs says exactly that. If you look at the definition of htmlDocs in the flake, you'll see it specifies the nixpkgsManual and nixosManual attributes, and those are derivations you can build | 17:36:55 |
danielsidhion | Try nix build .#htmlDocs.nixpkgsManual or nix build .#htmlDocs.nixosManual | 17:37:12 |
aos | Ohhh... that makes total sense. I should've read the error better. Thank you :-) | 17:38:17 |
| Philip Taron (UTC-8) changed their display name from Philip Taron to Philip Taron (UTC-8). | 18:10:48 |
| 1 Jan 2024 |
| @nixinator:nixos.dev left the room. | 22:37:04 |
| 2 Jan 2024 |
asymmetric | https://jvns.ca/blog/2024/01/01/some-notes-on-nixos/ | 11:19:49 |
asymmetric | i always find it useful to see what other people use to learn (how to do things with) nix, that's why i post it here | 11:25:57 |
asymmetric | it would be good to track how many new articles use nix.dev instead of the wiki. this uses the wiki | 11:26:55 |
asymmetric | but for something that i'm not sure we should be maintaining ourselves? it seems like for things like "nixos friendly hosters", a wiki provides less friction | 11:27:48 |
asymmetric | * but for something that i'm not sure we should be maintaining ourselves? it seems like for low-stakes (?) things like "nixos friendly hosters", a wiki provides less friction | 11:27:57 |
asymmetric | * but for something that i'm not sure we should be maintaining ourselves? it seems like for low-stakes (?) things like "nixos friendly hosters", a wiki provides less friction for users and takes off some work from the docs team | 11:28:18 |
asymmetric | or is the idea that everything that's now in nix.wiki + nixlang.wiki should eventually be absorbed by nix.dev? | 11:28:52 |