mirror of
https://github.com/NixOS/nix
synced 2025-06-24 13:51:16 +02:00
Fix a footgun. In my case, I had a couple of build ("output") directories sitting around. rm -rf build-* Was confused for a bit why a meson.build file was missing. Probably also helps with autocompletion. I tried meson-build-support first, but I had to add something like a nix- prefix, in order to make meson happy. They've reserved the meson- prefix.
19 lines
646 B
Meson
19 lines
646 B
Meson
foreach maybe_subproject_dep : deps_private_maybe_subproject
|
|
if maybe_subproject_dep.type_name() == 'internal'
|
|
deps_private_subproject += maybe_subproject_dep
|
|
# subproject sadly no good for pkg-config module
|
|
deps_other += maybe_subproject_dep
|
|
else
|
|
deps_private += maybe_subproject_dep
|
|
endif
|
|
endforeach
|
|
|
|
foreach maybe_subproject_dep : deps_public_maybe_subproject
|
|
if maybe_subproject_dep.type_name() == 'internal'
|
|
deps_public_subproject += maybe_subproject_dep
|
|
# subproject sadly no good for pkg-config module
|
|
deps_other += maybe_subproject_dep
|
|
else
|
|
deps_public += maybe_subproject_dep
|
|
endif
|
|
endforeach
|