mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
eb7d7780b1
This is needed to avoid this https://github.com/mesonbuild/meson/issues/13774 when we go back to making our subproject directory `src`.
19 lines
394 B
Meson
19 lines
394 B
Meson
types_dir = custom_target(
|
|
command : [
|
|
python.full_path(),
|
|
'@INPUT0@',
|
|
'@OUTPUT@',
|
|
'--'
|
|
] + nix_eval_for_docs + [
|
|
'--expr',
|
|
'import @INPUT1@ (builtins.fromJSON (builtins.readFile ./@INPUT2@)).stores',
|
|
],
|
|
input : [
|
|
'../../remove_before_wrapper.py',
|
|
'../../generate-store-types.nix',
|
|
nix3_cli_json,
|
|
],
|
|
output : 'types',
|
|
env : nix_env_for_docs,
|
|
)
|