1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 05:56:03 +01:00
nix/src/perl/lib/Nix
John Ericson f3e1c47f47 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.
2025-03-31 12:20:25 -04:00
..
Config.pm.in Move NIX_BIN_DIR and all logic using it to the Nix executable itself 2024-08-12 12:29:17 -04:00
CopyClosure.pm Integrate perl with the other meson builds 2024-06-17 14:48:20 -04:00
Manifest.pm Integrate perl with the other meson builds 2024-06-17 14:48:20 -04:00
meson.build meson: Prelink links to avoid missing C++ initializers 2024-07-02 09:26:22 -04:00
SSH.pm Integrate perl with the other meson builds 2024-06-17 14:48:20 -04:00
Store.pm Move NIX_BIN_DIR and all logic using it to the Nix executable itself 2024-08-12 12:29:17 -04:00
Store.xs Separate headers from source files 2025-03-31 12:20:25 -04:00
Utils.pm Integrate perl with the other meson builds 2024-06-17 14:48:20 -04:00