diff options
author | Vincent Ambo <mail@tazj.in> | 2022-12-26T09·49+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-12-26T11·16+0000 |
commit | c6cb13856549907729e76035c818303f3c1fd244 (patch) | |
tree | d0d2711e41bf6649543587a92004b7b56056a6ac /tools/tvlc/default.nix | |
parent | 1e439fb5ad042d5b55355dff260ff8241bc3e44a (diff) |
chore(tools): remove depot-scanner & tvlc r/5490
These are both unused things from a long time ago, which we don't need to keep around anymore. Their design doc has been marked as archived. Change-Id: Icd2744e511e78ec95ec8f39e5f79ed1fe98e9e4a Reviewed-on: https://cl.tvl.fyi/c/depot/+/7639 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tools/tvlc/default.nix')
-rw-r--r-- | tools/tvlc/default.nix | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/tools/tvlc/default.nix b/tools/tvlc/default.nix deleted file mode 100644 index a6f201485ff2..000000000000 --- a/tools/tvlc/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ pkgs, depot, ... }: - -let - pathScripts = pkgs.writeShellScript "imports" '' - export tvix_instantiate="${depot.third_party.nix}/bin/nix-instantiate" - export depot_scanner="${depot.tools.depot-scanner}/bin/depot-scanner" - ''; - - # setup: git rev-parse --show-toplevel > $tvlc_root/depot_root - # setup: mkdir $tvlc_root/clients - # setup: echo 1 > $tvlc_root/next_clientid - - commonsh = pkgs.stdenv.mkDerivation { - name = "common.sh"; - src = ./common.sh; - doCheck = true; - unpackPhase = "true"; - buildPhase = '' - substitute ${./common.sh} $out --replace path-scripts ${pathScripts} - ''; - checkPhase = '' - ${pkgs.shellcheck}/bin/shellcheck $out ${pathScripts} && echo "SHELLCHECK OK" - ''; - installPhase = '' - chmod +x $out - ''; - }; - - tvlcNew = pkgs.stdenv.mkDerivation { - name = "tvlc-new"; - src = ./tvlc-new; - doCheck = true; - - unpackPhase = "true"; - buildPhase = '' - substitute ${./tvlc-new} $out --replace common.sh ${commonsh} - ''; - checkPhase = '' - ${pkgs.shellcheck}/bin/shellcheck $out ${commonsh} ${pathScripts} && echo "SHELLCHECK OK" - ''; - installPhase = '' - chmod +x $out - ''; - }; - -in -{ - inherit pathScripts; - inherit commonsh; - inherit tvlcNew; -} |