I.e. rewrite nix-build, download-from-binary-cache etc. in C++. - [x] [scripts/nix-collect-garbage.in](https://github.com/NixOS/nix/pull/522) - [x] [scripts/find-runtime-roots.pl.in](https://github.com/NixOS/nix/commit/ee3032e4de439b481ce1a4bc7fd8d71ea6ed2c94) - [x] [scripts/nix-copy-closure.in](https://github.com/NixOS/nix/pull/1023) - [x] [scripts/nix-prefetch-url.in](https://github.com/NixOS/nix/commit/bec3c3160881fcedf226080f13739aee81adae1a) - [x] [scripts/nix-install-package.in](https://github.com/NixOS/nix/pull/1021) - [x] [corepkgs/buildenv.pl](https://github.com/NixOS/nix/pull/1020) - [x] [scripts/nix-channel.in](https://github.com/NixOS/nix/pull/1026) - [x] [scripts/build-remote.pl.in](https://github.com/NixOS/nix/pull/981) - [x] [scripts/nix-build.in](https://github.com/NixOS/nix/pull/1018) - [x] [scripts/nix-push.in](https://github.com/NixOS/nix/pull/1024) - [x] [scripts/download-from-binary-cache.pl.in](https://github.com/NixOS/nix/commit/a6eed133c5a3602037bc48675ca783185cca5454) Darwin: - [x] [scripts/resolve-system-dependencies.pl.in](https://github.com/NixOS/nix/pull/1030)
I.e. rewrite nix-build, download-from-binary-cache etc. in C++.
Darwin: