mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
The current instructions for building the Nix manual include a command that doesn't work as described. Specifically: ``` nix build .#nix^doc ``` Running this command results in the error: ``` error: derivation '/nix/store/hddqxzfqgx2fhj8q66ss3idym7pk7aj1-nix-2.26.0pre20250107_383ab87.drv' does not have wanted outputs 'doc' ``` However, this command works if you specify the Nix version explicitly, such as: ``` nix build nix/2.24.11#nix^doc ``` Additionally, these commands are run within the Nix root directory. However, the nix build .#nix^doc command does work when run from the nixpkgs directory and generates the NixOS manual. I'm not sure if I'm missing something. Is the `nix^doc` supposed to be added somehow to flake outputs? The incremental build section does not work since as make has been decommissioned in favor of Meson. Should this be simply deleted? |
||
---|---|---|
.. | ||
rl-next | ||
source | ||
theme | ||
.version | ||
anchors.jq | ||
book.toml | ||
custom.css | ||
generate-builtins.nix | ||
generate-deps.py | ||
generate-manpage.nix | ||
generate-settings.nix | ||
generate-store-info.nix | ||
generate-store-types.nix | ||
generate-xp-features-shortlist.nix | ||
generate-xp-features.nix | ||
meson.build | ||
package.nix | ||
quote-literals.xsl | ||
redirects.js | ||
remove_before_wrapper.py | ||
render-manpage.sh | ||
substitute.py | ||
utils.nix |