aboutsummaryrefslogtreecommitdiff
path: root/src/legacy/meson.build
blob: 13b90314c1658d7f214474218a858df34b5012ff (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
28
29
30
31
32
33
34
35
legacy_include_directories = include_directories('.')

legacy_sources = files(
  # `build-remote` is not really legacy (it powers all remote builds), but it's
  # not a `nix3` command.
  'build-remote.cc',
  'dotgraph.cc',
  'graphml.cc',
  'nix-build.cc',
  'nix-channel.cc',
  'nix-collect-garbage.cc',
  'nix-copy-closure.cc',
  'nix-env.cc',
  'nix-env.hh',
  'nix-instantiate.cc',
  'nix-store.cc',
  'user-env.cc',
)

legacy_headers = files(
  'build-remote.hh',
  'nix-build.hh',
  'nix-channel.hh',
  'nix-collect-garbage.hh',
  'nix-copy-closure.hh',
  'nix-instantiate.hh',
  'nix-store.hh',
)

legacy_generated_headers = [
  gen_header.process('buildenv.nix', preserve_path_from: meson.current_source_dir()),
  gen_header.process('unpack-channel.nix', preserve_path_from: meson.current_source_dir()),
]

fs.copyfile('unpack-channel.nix')