mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
fix dry run parsing
This commit is contained in:
parent
912be37cc0
commit
8980398e73
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ proc parseDryRunOutput(err: string): DryRunOutput =
|
|||
of 1:
|
||||
let idx = theseLines[0]
|
||||
let line = lines[idx]
|
||||
let drvs = lines[idx .. ^1].toDerivations()
|
||||
let drvs = lines[idx + 1 .. ^1].toDerivations()
|
||||
if line.contains("built:"):
|
||||
result.toBuild = drvs
|
||||
elif line.contains("will be fetched"):
|
||||
|
|
Loading…
Reference in a new issue