Don't install uv in pyshell, installed globally instead

This commit is contained in:
Evie Litherland-Smith 2025-02-26 06:43:12 +00:00
parent df861c528d
commit f0f5c6f20c

View file

@ -4,7 +4,7 @@ nix-mode
> "pkgs = import " (p "<nixpkgs>") " { };" n
"in" n
"pkgs.mkShell {" n
> "packages = with pkgs; [ " (p "python3Full") " uv " q " ];" n
> "packages = with pkgs; [ " (p "python3Full") q " ];" n
> "env.LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [stdenv.cc.cc.lib libz];" n
> "shellHook = ''" n
> "[ ! -d .venv/ ] && python3 -m venv --copies --without-pip --prompt $(basename $(readlink -f .)) .venv" n