about summary refs log tree commit diff
path: root/ops/dns
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 /ops/dns
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 'ops/dns')
-rw-r--r--ops/dns/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/ops/dns/default.nix b/ops/dns/default.nix
index 1007be08f783..136a4c58dca7 100644
--- a/ops/dns/default.nix
+++ b/ops/dns/default.nix
@@ -2,15 +2,11 @@
 { depot, pkgs, ... }:
 
 let
-  inherit (depot.nix.utils)
-    drvTargets
-    ;
-
   checkZone = zone: file: pkgs.runCommandNoCC "${zone}-check" {} ''
     ${pkgs.bind}/bin/named-checkzone -i local ${zone} ${file} | tee $out
   '';
 
-in drvTargets {
+in depot.nix.readTree.drvTargets {
   nixery-dev = checkZone "nixery.dev" ./nixery.dev.zone;
   tvl-fyi = checkZone "tvl.fyi" ./tvl.fyi.zone;
   tvl-su = checkZone "tvl.su" ./tvl.su.zone;