refactor: Replace //bin with //tools/depot-deps

This modifies the envrc configuration to add the result of building
//tools/depot-deps to $PATH, instead of dispatching through the
manually maintained list of symlinks.

While at it, I've cleaned up some stuff from that list that is no
longer actually used.

Change-Id: If345c44da75b23c06b7c7f435be0cb02f99aaac5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5513
Tested-by: BuildkiteCI
Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
This commit is contained in:
Vincent Ambo 2022-05-02 12:40:50 +02:00 committed by tazjin
parent 0ce396bdab
commit e812807324
17 changed files with 36 additions and 83 deletions

5
.envrc
View file

@ -1,5 +1,4 @@
# Configure the local PATH to contain tools which are fetched ad-hoc
# from Nix.
export PATH="${PWD}/bin:${PATH}"
export REPO_ROOT="${PWD}"
use nix -A tools.depot-deps
watch_file tools/depot-deps.nix