python 3.13
This commit is contained in:
1 parent
a06d15ccd3
commit
830971c108
2 files changed
+12
No files matched your search
@@ -11,6 +11,13 @@
|
|||||||
├── packages.nix # List of packages to install for MacOS
|
├── packages.nix # List of packages to install for MacOS
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Python
|
||||||
|
|
||||||
|
`python3.13` is available alongside the default Python environment, without
|
||||||
|
changing `python` or `python3` or their configured packages. When the default
|
||||||
|
Python already is 3.13, its existing command is used instead of an extra launcher.
|
||||||
|
Use `python3.13 -m venv .venv` to create a Python 3.13 virtual environment.
|
||||||
|
|
||||||
## Dock activation
|
## Dock activation
|
||||||
|
|
||||||
Dock setup runs only when `olaf` is the active console user. Each `dockutil`
|
Dock setup runs only when `olaf` is the active console user. Each `dockutil`
|
||||||
|
|||||||
@@ -211,3 +211,8 @@ with pkgs;
|
|||||||
|
|
||||||
dockutil
|
dockutil
|
||||||
]
|
]
|
||||||
|
++ lib.optionals (lib.versions.majorMinor python3.version != "3.13") [
|
||||||
|
(writeShellScriptBin "python3.13" ''
|
||||||
|
exec ${python313}/bin/python3.13 "$@"
|
||||||
|
'')
|
||||||
|
]
|
||||||
Reference in new issue
Block a user