mirror of
https://github.com/NixOS/nix.git
synced 2025-10-17 15:42:03 +08: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
15 lines
484 B
Meson
15 lines
484 B
Meson
builtins_md = custom_target(
|
|
command : [ python.full_path(), '@INPUT0@', '@OUTPUT@', '--' ] + nix_eval_for_docs + [
|
|
'--expr', '(builtins.readFile @INPUT3@) + import @INPUT1@ (builtins.fromJSON (builtins.readFile ./@INPUT2@)) + (builtins.readFile @INPUT4@)',
|
|
],
|
|
input : [
|
|
'../../remove_before_wrapper.py',
|
|
'../../generate-builtins.nix',
|
|
language_json,
|
|
'builtins-prefix.md',
|
|
'builtins-suffix.md',
|
|
],
|
|
output : 'builtins.md',
|
|
env : nix_env_for_docs,
|
|
)
|