aboutsummaryrefslogtreecommitdiff
path: root/src/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build49
1 files changed, 2 insertions, 47 deletions
diff --git a/src/meson.build b/src/meson.build
index 66fbb13ba..8b63ef995 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -26,54 +26,9 @@ libasanoptions = declare_dependency(
link_whole: asanoptions
)
-build_remote_sources = files(
- 'build-remote/build-remote.cc',
-)
-nix_build_sources = files(
- 'nix-build/nix-build.cc',
-)
-nix_channel_sources = files(
- 'nix-channel/nix-channel.cc',
-)
-unpack_channel_gen = gen_header.process('nix-channel/unpack-channel.nix')
-nix_collect_garbage_sources = files(
- 'nix-collect-garbage/nix-collect-garbage.cc',
-)
-nix_copy_closure_sources = files(
- 'nix-copy-closure/nix-copy-closure.cc',
-)
-nix_env_buildenv_gen = gen_header.process('nix-env/buildenv.nix')
-nix_env_sources = files(
- 'nix-env/nix-env.cc',
- 'nix-env/user-env.cc',
-)
-nix_instantiate_sources = files(
- 'nix-instantiate/nix-instantiate.cc',
-)
-nix_store_sources = files(
- 'nix-store/dotgraph.cc',
- 'nix-store/graphml.cc',
- 'nix-store/nix-store.cc',
-)
-
-# Hurray for Meson list flattening!
-nix2_commands_sources = [
- build_remote_sources,
- nix_build_sources,
- nix_channel_sources,
- unpack_channel_gen,
- nix_collect_garbage_sources,
- nix_copy_closure_sources,
- nix_env_buildenv_gen,
- nix_env_sources,
- nix_instantiate_sources,
- nix_store_sources,
-]
+# Legacy commands.
+subdir('legacy')
# Finally, the nix command itself, which all of the other commands are implmented in terms of
# as a multicall binary.
subdir('nix')
-
-# Just copies nix-channel/unpack-channel.nix to the build directory.
-# Done as a subdir to get Meson to respect the path hierarchy.
-subdir('nix-channel')