1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00
nix/doc/manual
Domagoj Mišković 3a5fccc418
outdated building instructions, update documentation.md
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?
2025-01-08 09:42:26 +01:00
..
rl-next feat(nix-instantiate): add --raw flag 2024-12-31 16:36:49 +01:00
source outdated building instructions, update documentation.md 2025-01-08 09:42:26 +01:00
theme doc/manual: don't need to copy highlight.js manually 2021-08-04 19:47:05 -07:00
.version Build the manual with Meson 2024-10-09 11:58:17 -04:00
anchors.jq doc: Port anchors preprocessor to jq script 2022-05-26 18:17:21 +02:00
book.toml Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
custom.css doc/manual: fix misaligned icons in custom.css (#11296) 2024-08-14 14:27:12 +02:00
generate-builtins.nix manual: Contributing -> Development, Hacking -> Building (#9014) 2024-07-25 02:53:06 +00:00
generate-deps.py Build the manual with Meson 2024-10-09 11:58:17 -04:00
generate-manpage.nix manual: Contributing -> Development, Hacking -> Building (#9014) 2024-07-25 02:53:06 +00:00
generate-settings.nix manual: Contributing -> Development, Hacking -> Building (#9014) 2024-07-25 02:53:06 +00:00
generate-store-info.nix manual: Contributing -> Development, Hacking -> Building (#9014) 2024-07-25 02:53:06 +00:00
generate-store-types.nix Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
generate-xp-features-shortlist.nix manual: Contributing -> Development, Hacking -> Building (#9014) 2024-07-25 02:53:06 +00:00
generate-xp-features.nix Document each store type on its own page 2023-12-01 01:27:52 +01:00
meson.build fix: Add missing manpages to meson.build 2024-12-02 17:42:11 +01:00
package.nix switch to lowdown-unsandboxed package 2024-12-16 16:50:59 +01:00
quote-literals.xsl Generate release notes again 2014-03-12 14:24:29 +01:00
redirects.js Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
remove_before_wrapper.py Build the manual with Meson 2024-10-09 11:58:17 -04:00
render-manpage.sh Build the manual with Meson 2024-10-09 11:58:17 -04:00
substitute.py Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
utils.nix Document each store type on its own page 2023-12-01 01:27:52 +01:00