From f2443911cc730cbdd927a8c8b8e0012659a464ff Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 10 Apr 2021 13:38:50 +0200 Subject: refactor(fun): Consistent use of depot.third_party vs. pkgs In preparation for the solution of b/108, we need to consistently use `depot.third_party` for packages that are only packed in the TVL depot and `pkgs` for things that come from nixpkgs. This commit cleans up a huge chunk of these uses in //fun Change-Id: I45a7b392a9749fa7859ff5100dcea415bda807c3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2914 Tested-by: BuildkiteCI Reviewed-by: sterni --- fun/uggc/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fun/uggc/default.nix') diff --git a/fun/uggc/default.nix b/fun/uggc/default.nix index 49160071f5..ca622666dc 100644 --- a/fun/uggc/default.nix +++ b/fun/uggc/default.nix @@ -1,7 +1,8 @@ -{ depot, pkgs, ... }@args: +{ depot, pkgs, ... }: let - inherit (pkgs) gopkgs; + inherit (depot.third_party) gopkgs; + uggc = depot.nix.buildGo.program { name = "uggc"; srcs = [ -- cgit 1.4.1