mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
build(lib{expr,store,util}-test-support): depend on -c libraries
Since lib{expr,store,util}-test-support subprojects define nix_api_* helpers for testing nix c bindings, they need to publicly depend on -c counterparts. This makes their headers self-sufficient and does not rely on the -tests to add necessary dependencies.
This commit is contained in:
parent
acb60fc359
commit
fbffd47fb7
6 changed files with 9 additions and 0 deletions
|
@ -24,6 +24,7 @@ deps_public_maybe_subproject = [
|
||||||
dependency('nix-store'),
|
dependency('nix-store'),
|
||||||
dependency('nix-store-test-support'),
|
dependency('nix-store-test-support'),
|
||||||
dependency('nix-expr'),
|
dependency('nix-expr'),
|
||||||
|
dependency('nix-expr-c'),
|
||||||
]
|
]
|
||||||
subdir('build-utils-meson/subprojects')
|
subdir('build-utils-meson/subprojects')
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
, nix-store-test-support
|
, nix-store-test-support
|
||||||
, nix-expr
|
, nix-expr
|
||||||
|
, nix-expr-c
|
||||||
|
|
||||||
, rapidcheck
|
, rapidcheck
|
||||||
|
|
||||||
|
@ -35,6 +36,7 @@ mkMesonLibrary (finalAttrs: {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
nix-store-test-support
|
nix-store-test-support
|
||||||
nix-expr
|
nix-expr
|
||||||
|
nix-expr-c
|
||||||
rapidcheck
|
rapidcheck
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ deps_public_maybe_subproject = [
|
||||||
dependency('nix-util'),
|
dependency('nix-util'),
|
||||||
dependency('nix-util-test-support'),
|
dependency('nix-util-test-support'),
|
||||||
dependency('nix-store'),
|
dependency('nix-store'),
|
||||||
|
dependency('nix-store-c'),
|
||||||
]
|
]
|
||||||
subdir('build-utils-meson/subprojects')
|
subdir('build-utils-meson/subprojects')
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
, nix-util-test-support
|
, nix-util-test-support
|
||||||
, nix-store
|
, nix-store
|
||||||
|
, nix-store-c
|
||||||
|
|
||||||
, rapidcheck
|
, rapidcheck
|
||||||
|
|
||||||
|
@ -35,6 +36,7 @@ mkMesonLibrary (finalAttrs: {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
nix-util-test-support
|
nix-util-test-support
|
||||||
nix-store
|
nix-store
|
||||||
|
nix-store-c
|
||||||
rapidcheck
|
rapidcheck
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ deps_private_maybe_subproject = [
|
||||||
]
|
]
|
||||||
deps_public_maybe_subproject = [
|
deps_public_maybe_subproject = [
|
||||||
dependency('nix-util'),
|
dependency('nix-util'),
|
||||||
|
dependency('nix-util-c'),
|
||||||
]
|
]
|
||||||
subdir('build-utils-meson/subprojects')
|
subdir('build-utils-meson/subprojects')
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
, mkMesonLibrary
|
, mkMesonLibrary
|
||||||
|
|
||||||
, nix-util
|
, nix-util
|
||||||
|
, nix-util-c
|
||||||
|
|
||||||
, rapidcheck
|
, rapidcheck
|
||||||
|
|
||||||
|
@ -33,6 +34,7 @@ mkMesonLibrary (finalAttrs: {
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
nix-util
|
nix-util
|
||||||
|
nix-util-c
|
||||||
rapidcheck
|
rapidcheck
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue