!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

367 Members
Discussion about documentation improvements around the Nix ecosystem88 Servers

Load older messages


SenderMessageTime
7 Jan 2025
@fricklerhandwerk:matrix.orgfricklerhandwerkHm, but does that build from the working directory? Why does one have to specify the version?17:40:29
@allrealmsoflife:matrix.orgallrealmsoflife

it says:

❯ nix build .#nix^doc
error: derivation '/nix/store/hddqxzfqgx2fhj8q66ss3idym7pk7aj1-nix-2.26.0pre20250107_383ab87.drv' does not have wanted outputs 'doc'

Is it missing in the flake? the nix^doc as output? I'll check

17:43:06
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @allrealmsoflife:matrix.org

it says:

❯ nix build .#nix^doc
error: derivation '/nix/store/hddqxzfqgx2fhj8q66ss3idym7pk7aj1-nix-2.26.0pre20250107_383ab87.drv' does not have wanted outputs 'doc'

Is it missing in the flake? the nix^doc as output? I'll check

Yeah it must be missing in the flake
18:09:28
@allrealmsoflife:matrix.orgallrealmsoflife

Simply running nix build .#nix-manual generates two outputs:

  • result: Contains the HTML manual, located at ./result/share/doc/nix/manual/index.html.
  • result-man: Contains the compressed man pages, located in ./result-man/man1/*.gz.

Perhaps nix^doc was used in the past, but .#nix-manual is the correct output now.

21:00:51
@allrealmsoflife:matrix.orgallrealmsoflife *

Simply running nix build .#nix-manual generates two outputs:

  • result: Contains the HTML manual.
  • result-man: Contains the compressed man pages.

Perhaps nix^doc was used in the past, but .#nix-manual is the correct output now.

21:02:22
@allrealmsoflife:matrix.orgallrealmsoflife* Simply running nix build .#nix-manual generates two outputs: result: Contains the HTML manual. result-man: Contains the compressed man pages. Perhaps nix^doc was used in the past, but .#nix-manual is the correct output now. 21:06:11
@allrealmsoflife:matrix.orgallrealmsoflife* Simply running nix build .#nix-manual generates two outputs: result: Contains the HTML manual. result-man: Contains the compressed man pages. 21:07:24
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @allrealmsoflife:matrix.org
Simply running nix build .#nix-manual generates two outputs:
result: Contains the HTML manual.
result-man: Contains the compressed man pages.
Ah, cool. Thanks for investigating! PR appreciated
21:44:44
8 Jan 2025
@allrealmsoflife:matrix.orgallrealmsoflife Interesting, the nix^doc command does work in the nixpkgs root directory where it generates then the NixOS manual. I'm making a pr though 08:18:16
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @allrealmsoflife:matrix.org
Interesting, the nix^doc command does work in the nixpkgs root directory where it generates then the NixOS manual. I'm making a pr though
You mean cd nixpkgs; nix build .#nix^doc? This is because the change to Nix's flake.nix isn't in Nixpkgs yet (2.24 in Nixpkgs vs 2.25 on master)
08:43:57
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @allrealmsoflife:matrix.org
Interesting, the nix^doc command does work in the nixpkgs root directory where it generates then the NixOS manual. I'm making a pr though
* You mean cd nixpkgs; nix build .#nix^doc? This is because the change to Nix's flake.nix isn't in Nixpkgs yet (2.24 in Nixpkgs vs 2.25 on Nix master)
08:43:59
@fricklerhandwerk:matrix.orgfricklerhandwerk * You mean cd nixpkgs; nix build .#nix^doc? This is because the change to Nix's flake.nix isn't in Nixpkgs yet (2.24.11 in Nixpkgs vs 2.25 on Nix master) 08:44:15
@allrealmsoflife:matrix.orgallrealmsoflifeI see, not sure then if changing to nix-manual is correct? I made a PR though for now08:55:14
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @allrealmsoflife:matrix.org
I see, not sure then if changing to nix-manual is correct? I made a PR though for now
The PR does the right thing. The most important part is that instructions are correct for each release, and primarily master
09:45:25
@fricklerhandwerk:matrix.orgfricklerhandwerk Thanks a lot for helping out, this is really valuable stuff. It prevents others from bailing out before even starting to contribute 09:45:54
@allrealmsoflife:matrix.orgallrealmsoflifeThank you, very happy to help out, I actually stream while doing all this, it's fun, hey more PR's for me xD10:14:24
24 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".11:59:07
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".11:59:07
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.11:59:13
@domenkozar:matrix.orgDomen Kožar joined the room.11:59:28
@pinage404:matrix.orgpinage404 joined the room.12:00:09
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.12:03:52
@domenkozar:matrix.orgDomen Kožar set the room topic to "Discussion about documentation improvements around the Nix ecosystem".12:06:31
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.12:10:46
@jez:petrichor.meJez (he/him) joined the room.12:16:51
@andi:kack.itandi- joined the room.12:54:52
@nbardiuk:matrix.orgnazarii joined the room.17:31:12
@0x4a6f:matrix.org[0x4A6F] joined the room.18:46:55
@colemickens:matrix.orgcolemickens 🏳️‍🌈 joined the room.20:52:34
25 May 2021
@FRidh:matrix.orgFRidh joined the room.07:27:01

Show newer messages


Back to Room ListRoom Version: 6