about summary refs log tree commit diff
path: root/users/tazjin
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 /users/tazjin
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 'users/tazjin')
-rw-r--r--users/tazjin/dns/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/users/tazjin/dns/default.nix b/users/tazjin/dns/default.nix
index 14b9d428641c..da92b88beade 100644
--- a/users/tazjin/dns/default.nix
+++ b/users/tazjin/dns/default.nix
@@ -2,13 +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 {
   kontemplate-works = checkZone "kontemplate.works"./kontemplate.works.zone;
   tazj-in = checkZone "tazj.in" ./tazj.in.zone;
 }