mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
More dedup
This commit is contained in:
parent
4609ab318c
commit
c88f83b471
17 changed files with 88 additions and 165 deletions
|
@ -16,20 +16,15 @@ cxx = meson.get_compiler('cpp')
|
|||
|
||||
subdir('meson-utils/deps-lists')
|
||||
|
||||
foreach nix_dep : [
|
||||
deps_private_maybe_subproject = [
|
||||
]
|
||||
deps_public_maybe_subproject = [
|
||||
dependency('nix-util'),
|
||||
dependency('nix-store'),
|
||||
dependency('nix-fetchers'),
|
||||
dependency('nix-expr'),
|
||||
]
|
||||
if nix_dep.type_name() == 'internal'
|
||||
deps_public_subproject += nix_dep
|
||||
# subproject sadly no good for pkg-config module
|
||||
deps_other += nix_dep
|
||||
else
|
||||
deps_public += nix_dep
|
||||
endif
|
||||
endforeach
|
||||
subdir('meson-utils/subprojects')
|
||||
|
||||
nlohmann_json = dependency('nlohmann_json', version : '>= 3.9')
|
||||
deps_public += nlohmann_json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue