Skip to content

Commit

Permalink
Adding new UV_PROJECT_ENVIRONMENT envvar to Python environment
Browse files Browse the repository at this point in the history
  • Loading branch information
blast-hardcheese committed Sep 5, 2024
1 parent f919318 commit fda1d3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/modules/python/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ in
PYTHONUSERBASE = userbase;
PYTHONPATH = "${sitecustomize}:${pip.pip}/${python.sitePackages}";
REPLIT_PYTHONPATH = "${userbase}/${python.sitePackages}:${pypkgs.setuptools}/${python.sitePackages}";
UV_PROJECT_ENVIRONMENT = "$REPL_HOME/.pythonlibs";
# 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 fda1d3d

Please sign in to comment.