mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 06:56:14 +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`.
18 lines
394 B
Meson
18 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,
|
|
)
|