1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00
nix/doc/manual/source
John Ericson 0c67777396 Expose the nix component in header include paths
For example, instead of doing

    #include "nix/store-config.hh"
    #include "nix/derived-path.hh"

Now do

    #include "nix/store/config.hh"
    #include "nix/store/derived-path.hh"

This was originally planned in the issue, and also recent requested by
Eelco.

Most of the change is purely mechanical. There is just one small
additional issue. See how, in the example above, we took this
opportunity to also turn `<comp>-config.hh` into `<comp>/config.hh`.
Well, there was already a `nix/util/config.{cc,hh}`. Even though there
is not a public configuration header for libutil (which also would be
called `nix/util/config.{cc,hh}`) that's still confusing, To avoid any
such confusion, we renamed that to `nix/util/configuration.{cc,hh}`.

Finally, note that the libflake headers already did this, so we didn't
need to do anything to them. We wouldn't want to mistakenly get
`nix/flake/flake/flake.hh`!

Progress on #7876

(cherry picked from commit cc24766fa6)
2025-04-02 11:37:17 -04:00
..
advanced-topics manual: Edit 2025-03-03 22:13:09 +00:00
architecture Document Store Derivations and Deriving Paths (#12290) 2025-02-10 01:30:07 +00:00
command-ref Rename to "content-address*ing* derivation" 2025-02-10 01:12:56 -05:00
development Expose the nix component in header include paths 2025-04-02 11:37:17 -04:00
figures Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
installation Remove character not needed for a command 2025-01-20 14:03:29 +02:00
language Advanced attributes organize 2025-03-31 18:31:12 +00:00
package-management Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
protocols Update doc/manual/source/protocols/store-path.md 2025-03-31 18:39:23 +00:00
release-notes rl-2.27.md: Fix GitHub links 2025-03-21 19:48:51 +00:00
store Fix minor documentation typos 2025-03-31 18:37:17 +00:00
_redirects Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
c-api.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
favicon.png Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
favicon.svg Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
glossary.md manual: Edit 2025-03-03 22:13:09 +00:00
introduction.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
quick-start.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
SUMMARY.md.in Expand manual on derivation outputs 2025-03-03 22:13:08 +00:00