aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/language/meson.build
blob: bc0d147f337e7a50058b25937d409fbeab367687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
builtins_md = custom_target(
  command : nix_eval_for_docs + [
    '--expr',
    'import @INPUT0@ (builtins.fromJSON (builtins.readFile @INPUT1@)).builtins',
  ],
  capture : true,
  input : [
    '../../generate-builtins.nix',
    language_json,
  ],
  output : 'builtins.md',
  env : nix_env_for_docs,
)

builtin_constants_md = custom_target(
  command : nix_eval_for_docs + [
    '--expr',
    'import @INPUT0@ (builtins.fromJSON (builtins.readFile @INPUT1@)).constants',
  ],
  capture : true,
  input : [
    '../../generate-builtin-constants.nix',
    language_json,
  ],
  output : 'builtin-constants.md',
  env : nix_env_for_docs,
)