diff options
author | Vincent Ambo <mail@tazj.in> | 2021-11-23T13·31+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-11-23T14·42+0000 |
commit | 4f1249e46fb816cfd299ae27385a63746f914c3f (patch) | |
tree | 306e9d7f58a33397cc09bfb8bf4098856e1aafc2 /users | |
parent | 5cad3f7b81b1460aeceb40936e0c7dcb029936a6 (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')
-rw-r--r-- | users/Profpatsch/arglib/netencode.nix | 2 | ||||
-rw-r--r-- | users/Profpatsch/blog/default.nix | 2 | ||||
-rw-r--r-- | users/Profpatsch/execline/default.nix | 2 | ||||
-rw-r--r-- | users/Profpatsch/netencode/default.nix | 2 | ||||
-rw-r--r-- | users/Profpatsch/netstring/default.nix | 2 | ||||
-rw-r--r-- | users/Profpatsch/netstring/tests/default.nix | 2 | ||||
-rw-r--r-- | users/Profpatsch/nixpkgs-rewriter/default.nix | 2 | ||||
-rw-r--r-- | users/Profpatsch/tree-sitter.nix | 2 | ||||
-rw-r--r-- | users/Profpatsch/writers/tests/default.nix | 2 | ||||
-rw-r--r-- | users/tazjin/dns/default.nix | 4 |
10 files changed, 10 insertions, 12 deletions
diff --git a/users/Profpatsch/arglib/netencode.nix b/users/Profpatsch/arglib/netencode.nix index 7712bbd5bb9e..50f4c11c2d8f 100644 --- a/users/Profpatsch/arglib/netencode.nix +++ b/users/Profpatsch/arglib/netencode.nix @@ -37,4 +37,4 @@ let ''; }; -in depot.nix.utils.drvTargets netencode +in depot.nix.readTree.drvTargets netencode diff --git a/users/Profpatsch/blog/default.nix b/users/Profpatsch/blog/default.nix index 4e24d097e358..6ac3c3eb5104 100644 --- a/users/Profpatsch/blog/default.nix +++ b/users/Profpatsch/blog/default.nix @@ -358,7 +358,7 @@ let bins.cdbget "$2" ]; -in depot.nix.utils.drvTargets { +in depot.nix.readTree.drvTargets { inherit router depotCgitLink diff --git a/users/Profpatsch/execline/default.nix b/users/Profpatsch/execline/default.nix index 2d1b91137347..1f75b97591fc 100644 --- a/users/Profpatsch/execline/default.nix +++ b/users/Profpatsch/execline/default.nix @@ -5,7 +5,7 @@ let name = "exec-helpers"; } (builtins.readFile ./exec_helpers.rs); -in depot.nix.utils.drvTargets { +in depot.nix.readTree.drvTargets { inherit exec-helpers ; diff --git a/users/Profpatsch/netencode/default.nix b/users/Profpatsch/netencode/default.nix index db892cc9de8d..739bda3d78c9 100644 --- a/users/Profpatsch/netencode/default.nix +++ b/users/Profpatsch/netencode/default.nix @@ -135,7 +135,7 @@ let } ''; -in depot.nix.utils.drvTargets { +in depot.nix.readTree.drvTargets { inherit netencode-rs pretty-rs diff --git a/users/Profpatsch/netstring/default.nix b/users/Profpatsch/netstring/default.nix index eee5358fddd9..dcc29d7e6fec 100644 --- a/users/Profpatsch/netstring/default.nix +++ b/users/Profpatsch/netstring/default.nix @@ -55,7 +55,7 @@ let } ''; -in depot.nix.utils.drvTargets { +in depot.nix.readTree.drvTargets { inherit python-netstring rust-netstring diff --git a/users/Profpatsch/netstring/tests/default.nix b/users/Profpatsch/netstring/tests/default.nix index f64beb9e9275..710ba3d30526 100644 --- a/users/Profpatsch/netstring/tests/default.nix +++ b/users/Profpatsch/netstring/tests/default.nix @@ -53,7 +53,7 @@ let } ''; -in depot.nix.utils.drvTargets { +in depot.nix.readTree.drvTargets { inherit python-netstring-test rust-netstring-test diff --git a/users/Profpatsch/nixpkgs-rewriter/default.nix b/users/Profpatsch/nixpkgs-rewriter/default.nix index 9dac01844165..787162d4973a 100644 --- a/users/Profpatsch/nixpkgs-rewriter/default.nix +++ b/users/Profpatsch/nixpkgs-rewriter/default.nix @@ -101,7 +101,7 @@ let "nix-instantiate" "$1" "-A" "{}" ]; -in depot.nix.utils.drvTargets { +in depot.nix.readTree.drvTargets { inherit instantiate-nixpkgs-randomly # requires hnix, which we don’t want in tvl for now diff --git a/users/Profpatsch/tree-sitter.nix b/users/Profpatsch/tree-sitter.nix index 1e3f37801968..4f81b8e7a77c 100644 --- a/users/Profpatsch/tree-sitter.nix +++ b/users/Profpatsch/tree-sitter.nix @@ -169,7 +169,7 @@ let ''; }; -in depot.nix.utils.drvTargets { +in depot.nix.readTree.drvTargets { inherit print-ast tree-sitter-nix diff --git a/users/Profpatsch/writers/tests/default.nix b/users/Profpatsch/writers/tests/default.nix index c4769a28c655..dc760af9e16e 100644 --- a/users/Profpatsch/writers/tests/default.nix +++ b/users/Profpatsch/writers/tests/default.nix @@ -41,7 +41,7 @@ let assert(test_lib.test() == "test 1 2 3") ''); -in depot.nix.utils.drvTargets { +in depot.nix.readTree.drvTargets { inherit pythonWithLib ; 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; } |