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
'abspath': shutil.which('podman') or shutil.which('docker') or shutil.which('docker-ce'),
465
+
'abspath': lambda: shutil.which('podman') or shutil.which('docker') or shutil.which('docker-ce'),
464
466
},
465
467
'apt': {
466
468
# vary the installed package name based on CPU architecture
@@ -866,7 +868,7 @@ PATH = DEFAULT_ENV_PATH # current PATH + current Python bin dir
866
868
- Auto-switching: none.
867
869
- Security: `min_release_age` and `postinstall_scripts` are unsupported here and are ignored with a warning if explicitly passed to `install()` / `update()`.
868
870
- Overrides: `abspath` / `version` are the useful ones here. `python` has a built-in override to the current `sys.executable` and interpreter version.
869
-
- Notes: resolved `abspath`s always point at the real underlying host binary, not the managed`env/bin/<name>` symlink. `install()` / `update()` return explanatory no-op messages, and `uninstall()` is a no-op.
871
+
- Notes: with a managed env root, compatible host binaries are projected into`env/bin/<name>` and resolved through that stable symlink. `install()` / `update()` return explanatory no-op messages, and `uninstall()` is a no-op.
- Install root: set `install_root` for the Go install tree, and optionally `bin_dir` for the executable dir; otherwise installs land in `<install_root>/bin`.
1138
-
- Auto-switching: none.
1140
+
- Auto-switching: none. Resolves a compatible host `go` first, then installs Go through Apt or Homebrew if it is missing.
1139
1141
-`dry_run`: shared behavior.
1140
1142
- Security: `min_release_age` and `postinstall_scripts=False` are unsupported and are ignored with a warning if explicitly requested.
1141
1143
- Overrides: `install_args` is passed to `go install ...`; the default is `["<bin_name>@latest"]`.
- Security: `min_release_age` and `postinstall_scripts=False` are unsupported and are ignored with a warning if explicitly requested.
1164
-
- Overrides: `install_args` is passed to `nix profile install ...`; search results use the explicit official `nixpkgs-unstable` channel archive instead of the host's Nix registry.
1166
+
- Overrides: `install_args` is passed to `nix profile install ...`; the default is `[bin_name]`. Search results use the explicit official `nixpkgs-unstable` channel archive instead of the host's Nix registry.
1165
1167
- Notes: update/uninstall operate on the resolved profile element name rather than reusing the full flake ref.
0 commit comments