1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 19:01:16 +02:00
nix/doc/manual/source/development
John Ericson 15658b259f Separate headers from source files
The short answer for why we need to do this is so we can consistently do
`#include "nix/..."`. Without this change, there are ways to still make
that work, but they are hacky, and they have downsides such as making it
harder to make sure headers from the wrong Nix library (e..g.
`libnixexpr` headers in `libnixutil`) aren't being used.

The C API alraedy used `nix_api_*`, so its headers are *not* put in
subdirectories accordingly.

Progress on #7876

We resisted doing this for a while because it would be annoying to not
have the header source file pairs close by / easy to change file
path/name from one to the other. But I am ameliorating that with
symlinks in the next commit.

(cherry picked from commit f3e1c47f47)
2025-03-31 18:04:04 -04:00
..
building.md doc: Fix ccacheStdenvPackages typo 2025-02-18 23:23:10 +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 More debugging documentation 2025-02-03 10:08:13 -05: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 Separate headers from source files 2025-03-31 18:04:04 -04:00