1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00
nix/doc/manual/source/development
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
..
building.md Make the default stdenv phases do the right thing 2024-11-12 20:42:53 +01:00
cli-guideline.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
contributing.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
cxx.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
debugging.md doc/manual: Add 'Debugging Nix' section (#11637) 2024-11-01 19:42:34 +00:00
documentation.md outdated building instructions, update documentation.md 2025-01-08 09:42:26 +01:00
experimental-features.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
index.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
json-guideline.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
meson.build Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
testing.md ci: lock macOS runner to macos-14 2024-12-29 00:04:44 +01:00