about summary refs log tree commit diff
path: root/tools/cheddar/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-04-10T11·40+0200
committertazjin <mail@tazj.in>2021-04-10T12·06+0000
commitd62fab4168129180e964a02a5a72c91623d1b962 (patch)
tree0dad258bd2e97c0289dcb104aaa48df4820dd94d /tools/cheddar/default.nix
parentf2443911cc730cbdd927a8c8b8e0012659a464ff (diff)
refactor(cheddar): Consistent use of depot.third_party vs. pkgs r/2463
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.

Change-Id: I49d82726b2f3bd7d4923effdd9a7e3f67ddc0659
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2916
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tools/cheddar/default.nix')
-rw-r--r--tools/cheddar/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/cheddar/default.nix b/tools/cheddar/default.nix
index 66874db28688..b7c5070b3d51 100644
--- a/tools/cheddar/default.nix
+++ b/tools/cheddar/default.nix
@@ -1,13 +1,13 @@
-{ pkgs, ... }:
+{ depot, pkgs, ... }:
 
-pkgs.naersk.buildPackage {
+depot.third_party.naersk.buildPackage {
   src = ./.;
   doDoc = false;
 
   override = x: {
     # Use our custom bat syntax set, which is everything from upstream,
     # plus additional languages we care about.
-    BAT_SYNTAXES = "${pkgs.bat_syntaxes}";
+    BAT_SYNTAXES = "${depot.third_party.bat_syntaxes}";
 
     # LLVM packages (why are they even required?) are not found
     # automatically if added to buildInputs, hence this ...