mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02: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>
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,
|
|
)
|