about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-11-23T13·31+0300
committertazjin <mail@tazj.in>2021-11-23T14·42+0000
commit4f1249e46fb816cfd299ae27385a63746f914c3f (patch)
tree306e9d7f58a33397cc09bfb8bf4098856e1aafc2 /third_party
parent5cad3f7b81b1460aeceb40936e0c7dcb029936a6 (diff)
refactor(readTree): Move 'drvTargets' into readTree r/3088
This function is also generally useful for readTree consumers that
have the concept of subtargets.

Change-Id: Ic7fc03380dec6953fb288763a28e50ab3624d233
Diffstat (limited to 'third_party')
-rw-r--r--third_party/gerrit_plugins/default.nix2
-rw-r--r--third_party/nixery/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/gerrit_plugins/default.nix b/third_party/gerrit_plugins/default.nix
index 08a9e17ff9ee..8131ca2eb014 100644
--- a/third_party/gerrit_plugins/default.nix
+++ b/third_party/gerrit_plugins/default.nix
@@ -2,7 +2,7 @@
 
 let
   inherit (import ./builder.nix args) buildGerritBazelPlugin;
-in depot.nix.utils.drvTargets {
+in depot.nix.readTree.drvTargets {
   # https://gerrit.googlesource.com/plugins/owners
   owners = buildGerritBazelPlugin rec {
     name = "owners";
diff --git a/third_party/nixery/default.nix b/third_party/nixery/default.nix
index 0220c9cd801b..9262f1461401 100644
--- a/third_party/nixery/default.nix
+++ b/third_party/nixery/default.nix
@@ -3,7 +3,7 @@
 { depot, pkgs, ... }:
 
 let
-  inherit (depot.nix.utils) drvTargets;
+  inherit (depot.nix.readTree) drvTargets;
 
   commit = "6c4a69fa4280f0154ce257a1dfd23fb463c1ec5b";
   src = pkgs.fetchFromGitHub {