You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cleanup] nix/shell: rename configDir to projectDir (#447)
## Summary
Doing the rename for `nix/shell.go` code.
## How was it tested?
After this PR, the remaining references are to
(1) pkgConfigDir which is unrelated
(2) DevboxConfigDir in pkgconfig code, which I'm addressing in its own
PR.
```
❯ git grep -in configDir | grep -v cloud
internal/impl/devbox.go:244: nix.WithPKGConfigDir(filepath.Join(d.projectDir, plugin.VirtenvBinPath)),
internal/impl/devbox.go:323: nix.WithPKGConfigDir(filepath.Join(d.projectDir, plugin.VirtenvBinPath)),
internal/nix/shell.go:42: pkgConfigDir string
internal/nix/shell.go:141:func WithPKGConfigDir(pkgConfigDir string) ShellOption {
internal/nix/shell.go:143: s.pkgConfigDir = pkgConfigDir
internal/nix/shell.go:371: if s.pkgConfigDir != "" {
internal/nix/shell.go:372: pathPrepend = s.pkgConfigDir + ":" + pathPrepend
internal/plugin/pkgcfg.go:80: "DevboxConfigDir": rootDir,
internal/plugin/pkgcfg.go:154: "DevboxConfigDir": rootDir,
plugins/apacheHttpd.json:6: "HTTPD_DEVBOX_CONFIG_DIR": "{{ .DevboxConfigDir }}",
```
0 commit comments