1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00
nix/doc/manual
John Ericson cc24766fa6 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
2025-04-01 11:40:42 -04:00
..
rl-next C API: (breaking) remove nix-flake-c global init 2025-03-26 11:15:02 +00:00
source Expose the nix component in header include paths 2025-04-01 11:40:42 -04: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.in Include the Nix version in the title of the manual 2025-02-24 14:49:58 +01:00
custom.css doc/manual: fix misaligned icons in custom.css (#11296) 2024-08-14 14:27:12 +02:00
generate-builtins.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-deps.py Build the manual with Meson 2024-10-09 11:58:17 -04:00
generate-manpage.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-settings.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-store-info.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-store-types.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-xp-features-shortlist.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-xp-features.nix Format .nix files 2025-01-24 17:04:02 +01:00
meson.build Include the Nix version in the title of the manual 2025-02-24 14:49:58 +01:00
package.nix Format .nix files 2025-01-24 17:04:02 +01:00
quote-literals.xsl Generate release notes again 2014-03-12 14:24:29 +01:00
redirects.js Rename to "content-address*ing* derivation" 2025-02-10 01:12:56 -05: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 Format .nix files 2025-01-24 17:04:02 +01:00