()
| 419 | } |
| 420 | |
| 421 | func (d *Devbox) profilePath() (string, error) { |
| 422 | absPath := filepath.Join(d.projectDir, nix.ProfilePath) |
| 423 | |
| 424 | if err := resetProfileDirForFlakes(absPath); err != nil { |
| 425 | slog.Error("resetProfileDirForFlakes error", "err", err) |
| 426 | } |
| 427 | |
| 428 | return absPath, errors.WithStack(os.MkdirAll(filepath.Dir(absPath), 0o755)) |
| 429 | } |
| 430 | |
| 431 | var resetCheckDone = false |
| 432 |
no test coverage detected