mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Now that we have applied the [1] patch, the diff is much nicer and less noisy. [1]: https://www.github.com/mesonbuild/meson/pull/14861
12 lines
372 B
Meson
12 lines
372 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,
|
|
)
|