refactor(readTree): Move 'drvTargets' into readTree
This function is also generally useful for readTree consumers that have the concept of subtargets. Change-Id: Ic7fc03380dec6953fb288763a28e50ab3624d233
This commit is contained in:
parent
5cad3f7b81
commit
4f1249e46f
19 changed files with 34 additions and 40 deletions
2
third_party/gerrit_plugins/default.nix
vendored
2
third_party/gerrit_plugins/default.nix
vendored
|
|
@ -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";
|
||||
|
|
|
|||
2
third_party/nixery/default.nix
vendored
2
third_party/nixery/default.nix
vendored
|
|
@ -3,7 +3,7 @@
|
|||
{ depot, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (depot.nix.utils) drvTargets;
|
||||
inherit (depot.nix.readTree) drvTargets;
|
||||
|
||||
commit = "6c4a69fa4280f0154ce257a1dfd23fb463c1ec5b";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue