Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

Uv is commonly used to install not just Python packages, but also Python interpreters. This will not “just work” with Nix as in other environments because of things like ELF interpreter paths, RPATHs & more.

These packages allows you to use Python interpreter versions unsupported by nixpkgs for impure development or with tooling like uv2nix.

uv-python.nix provides expressions to use these pre-packaged Python interpreters in a Nix environment.