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

Move call-flake.nix to nix-flake

As suggested by Ericson2314 in review
https://github.com/NixOS/nix/pull/12759#issuecomment-2755352343

(cherry picked from commit 0c75581d8b)
This commit is contained in:
Robert Hensing 2025-03-26 20:02:06 +00:00 committed by Mergify
parent 9dfadd3694
commit 5663827c7d
7 changed files with 34 additions and 10 deletions

View file

@ -39,6 +39,15 @@ add_project_arguments(
subdir('nix-meson-build-support/common')
subdir('nix-meson-build-support/generate-header')
generated_headers = []
foreach header : [
'call-flake.nix',
]
generated_headers += gen_header.process(header)
endforeach
sources = files(
'flake/config.cc',
'flake/flake.cc',
@ -65,6 +74,7 @@ subdir('nix-meson-build-support/windows-version')
this_library = library(
'nixflake',
sources,
generated_headers,
dependencies : deps_public + deps_private + deps_other,
include_directories : include_dirs,
link_args: linker_export_flags,