mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 21:46:01 +01:00
Co-Authored-By: Qyriad <qyriad@qyriad.me> Co-Authored-By: Robert Hensing <robert@roberthensing.nl> Co-Authored-By: eldritch horrors <pennae@lix.systems> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com> Co-authored-by: Tom Bereknyei <tomberek@gmail.com>
20 lines
505 B
Meson
20 lines
505 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,
|
|
)
|