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