()
| 338 | } |
| 339 | |
| 340 | func execEval() (string, error) { |
| 341 | ctx := getNixContext() |
| 342 | |
| 343 | deploymentFile, err := os.Open(deployment) |
| 344 | deploymentPath, err := filepath.Abs(deploymentFile.Name()) |
| 345 | if err != nil { |
| 346 | return "", err |
| 347 | } |
| 348 | |
| 349 | path, err := ctx.EvalHosts(deploymentPath, attrkey) |
| 350 | |
| 351 | return path, err |
| 352 | } |
| 353 | |
| 354 | func execPush(hosts []nix.Host) (string, error) { |
| 355 | resultPath, err := execBuild(hosts) |
no test coverage detected