Nix Documentation | 403 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 79 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Jul 2021 | ||
| * It's too bad the
looks so ugly when there is no link available. | 13:16:13 | |
| 14 Jul 2021 | ||
| I'm looking for recommendations on how to view old versions of the nixpkgs manual, e.g. 18.09. I tried building it from my own checkout, but I can't build the 18.09 version of the manual with the 21.05 version of nix-build. I tried to build the 18.09 manual with the 18.09 version of nix-build, but I haven't figured out how to do that. | 18:03:27 | |
| pixelfog: Why do you want to build it? | 20:22:33 | |
| Redacted or Malformed Event | 20:23:13 | |
| * ~~By default, the NixOS manual gets built every time you build NixOS, so if you have a system on 18.09 it should have the manual lying around in the nix store.~~ Edit: oops you said nixpkgs manual. | 20:23:33 | |
*
| 20:23:42 | |
| 15 Jul 2021 | ||
In reply to @ryantm:matrix.org I don't necessarily want to build it. I just want to view it. I had been looking at the nixos.org/manual documentation, but I was confused by the "packages" attribute that was being passed to nix-shell. I couldn't see how it was being used. Eventually, I figured out that it hadn't been added to nixpkgs until May 2021. So it seems like being able to view the documentation that matches the nixpkgs commit I'm using would be a good idea. As to why I'm using 18.09, it's because I have some Python2.7 code that runs fine on Ubuntu 18.04, and I'd like to package it for Nix before I port it to python3. So I picked 18.09 because it's around the same age as Ubuntu 18.04, and presumably would have roughly similar library versions. | 00:06:44 | |
In reply to @ryantm:matrix.org* I don't necessarily want to build it. I just want to view it. I had been looking at the nixos.org/manual documentation, but I was confused by the "packages" attribute that was in the nix-shell examples in the manual. I couldn't see how it was being used. Eventually, I figured out that it hadn't been added to nixpkgs until May 2021. So it seems like being able to view the documentation that matches the nixpkgs commit I'm using would be a good idea. As to why I'm using 18.09, it's because I have some Python2.7 code that runs fine on Ubuntu 18.04, and I'd like to package it for Nix before I port it to python3. So I picked 18.09 because it's around the same age as Ubuntu 18.04, and presumably would have roughly similar library versions. | 00:07:52 | |
| If there's a place that has the old versions of the manuals, already built, that would be completely sufficient for my purposes. | 00:09:12 | |
| Seems kind of likely they are in the Internet Archive, but I don't know what URL they are at. | 00:10:01 | |
| Here's the 18.03 manual http://web.archive.org/web/20180612014125/https://nixos.org/nixpkgs/manual/index.html | 00:11:24 | |
| Hmm...good point. | 00:11:40 | |
In reply to @ryantm:matrix.orgThanks! | 00:11:50 | |
| 20 Jul 2021 | ||
| 14:36:53 | ||
| 22 Jul 2021 | ||
pixelfog: you can also build the manual for your exact nixpkgs version by running nix-build path/to/nixpkgs/doc | 17:28:50 | |
In reply to @linus.heckemann:matrix.mayflower.deLinux Hackerman: I'll attach a screenshot of what happens when I try to build the 18.09 docs using 20.09 tools. | 18:57:49 | |
| Download building_nix_docs.png | 18:58:16 | |
| pixelfog: huh, works for me. You're on 6a3f5bcb061e1822f50e299f5616a0731636e4e7 with no changes? | 19:20:42 | |
| oh right, I'm on 21.05, not 20.09, but it looks like you are too | 19:21:01 | |
| Correct...on 6a3f5b, and 21.05. Oh...interesting. You said "no changes?", so in my nixpkgs tree, I ran "git clean -ndx", and there were a bunch of generated files in the doc/ tree. So I ran "git clean -fdx", and then "nix-build ./doc", and the manual built successfully. Woohoo! | 19:25:41 | |
| Thanks! | 19:27:10 | |
| 23 Jul 2021 | ||
| Room Avatar Renderer. | 23:22:54 | |
| 28 Jul 2021 | ||
| 09:24:44 | ||
| Hi everyone, I hope you all are doing great. I'm very new to this community and I'm not sure whether this is the right discussion to join to ask questions, but I'm giving it a try. I am currently trying to build a Go package and I'm trying to use buildFlagsArray, which from my understanding can be used to pass the same options as go build. Even though I'm not sure how to pass more than one option, so let's say "-X ..." and "-o ...". Is that possible? Also, can somebody please provide me with any explanation about the "-s" and "-w" options passed to buildFlagsArray. I was not able to find anything relatable to this in the nix manual or pills, so didn't know where else to ask. Thank you so much for your time in advance. | 09:25:57 | |
| edlimerkaj: Both this channel and #nix-lang:nixos.org are the wrong place to ask. For help with nix/nixpkgs you'll want to ask in #nix:nixos.org | 10:47:24 | |
| Sure, thank you for letting me know. | 10:48:53 | |
| 13:06:26 | ||
| 2 Aug 2021 | ||
| as I wrote https://nix.dev/tutorials/building-bootable-iso-image I got a question where are all modules inputs documented, are they anywhere? | 13:37:16 | |
| I couldn't find it | 13:37:19 | |
In reply to @domenkozar:matrix.orgWhy sync at the end? 🧐 | 13:42:30 | |