Rebecca Turner
b63d4a0c62
This moves the "legacy"/"nix2" commands under a new `src/legacy/`
directory, instead of being scattered around in a bunch of different
directories.
A new `liblegacy` build target is defined, and the `nix` binary is
linked against it.
Then, `RegisterLegacyCommand` is replaced with `LegacyCommand::add`
calls in functions like `registerNixCollectGarbage()`. These
registration functions are called explicitly in `src/nix/main.cc`.
See: #359
Change-Id:
|
||
---|---|---|
.. | ||
build-remote.cc | ||
build-remote.hh | ||
buildenv.nix | ||
dotgraph.cc | ||
dotgraph.hh | ||
graphml.cc | ||
graphml.hh | ||
meson.build | ||
nix-build.cc | ||
nix-build.hh | ||
nix-channel.cc | ||
nix-channel.hh | ||
nix-collect-garbage.cc | ||
nix-collect-garbage.hh | ||
nix-copy-closure.cc | ||
nix-copy-closure.hh | ||
nix-env.cc | ||
nix-env.hh | ||
nix-instantiate.cc | ||
nix-instantiate.hh | ||
nix-store.cc | ||
nix-store.hh | ||
unpack-channel.nix | ||
user-env.cc | ||
user-env.hh |