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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue