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:
parent
3e59cc0552
commit
ce209f1cd7
15 changed files with 82 additions and 25 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue