1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 15:40:59 +01:00

Revert "Unexpose config headers (low hanging fruit only) (backport #12773)"

This commit is contained in:
John Ericson 2025-03-31 11:57:46 -04:00 committed by GitHub
parent 3e59cc0552
commit ce209f1cd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 82 additions and 25 deletions

View file

@ -63,7 +63,9 @@ add_project_arguments(
# It would be nice for our headers to be idempotent instead.
'-include', 'config-util.hh',
'-include', 'config-store.hh',
# '-include', 'config-fetchers.h',
'-include', 'config-expr.hh',
'-include', 'config-main.hh',
'-include', 'config-cmd.hh',
language : 'cpp',
)
@ -91,7 +93,7 @@ sources = files(
include_dirs = [include_directories('.')]
headers = files(
headers = [config_h] + files(
'built-path.hh',
'command-installable-value.hh',
'command.hh',
@ -117,7 +119,6 @@ subdir('nix-meson-build-support/windows-version')
this_library = library(
'nixcmd',
sources,
config_h,
dependencies : deps_public + deps_private + deps_other,
include_directories : include_dirs,
link_args: linker_export_flags,