Skip to content

Commit d28f118

Browse files
tazjinhka
authored and
hka
committed
refactor(ops): 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 //ops Change-Id: I00faeb969eaa70760a26256274925b07998c2351 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2915 Tested-by: BuildkiteCI Reviewed-by: sterni <[email protected]> Original commit: https://code.tvl.fyi/patch/ops/kontemplate?id=9c5b5600ea3e8916af5715185ef57e57f36cf82b
1 parent e5df0ba commit d28f118

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

default.nix

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2016-2019 Vincent Ambo <[email protected]>
1+
# Copyright (C) 2016-2021 Vincent Ambo <[email protected]>
22
#
33
# This file is part of Kontemplate.
44
#
@@ -10,15 +10,15 @@
1010
# This file is the Nix derivation used to install Kontemplate on
1111
# Nix-based systems.
1212

13-
{ depot, ... }:
13+
{ lib, pkgs, ... }:
1414

15-
with depot.third_party; buildGoPackage rec {
15+
pkgs.buildGoPackage rec {
1616
name = "kontemplate-${version}";
1717
version = "canon";
1818
src = ./.;
1919
goPackagePath = "github.com/tazjin/kontemplate";
2020
goDeps = ./deps.nix;
21-
buildInputs = [ parallel ];
21+
buildInputs = [ pkgs.parallel ];
2222

2323
# Enable checks and configure check-phase to include vet:
2424
doCheck = true;

0 commit comments

Comments
 (0)