Skip to content

Commit

Permalink
Add more uv options
Browse files Browse the repository at this point in the history
  • Loading branch information
blast-hardcheese committed Sep 27, 2024
1 parent cc6ce03 commit da7edcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/modules/python/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ in
PYTHONPATH = "${sitecustomize}:${pip.pip}/${python.sitePackages}";
REPLIT_PYTHONPATH = "${userbase}/${python.sitePackages}:${pypkgs.setuptools}/${python.sitePackages}";
UV_PROJECT_ENVIRONMENT = "$REPL_HOME/.pythonlibs";
UV_PYTHON_DOWNLOADS = "never";
UV_PYTHON_PREFERENCE = "only-system";
# Even though it is set-default in the wrapper, add it to the
# environment too, so that when someone wants to override it,
# they can keep the defaults if they want to.
Expand Down

0 comments on commit da7edcd

Please sign in to comment.