mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 10:46:15 +02: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`.
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,
|
|
)
|