optimize pip install

This commit is contained in:
Sean Buckley 2021-08-16 01:01:42 -04:00
parent 50cb0aac28
commit 32fd85a4d3

View file

@ -45,9 +45,7 @@ in
(writeShellScriptBin "nix-roots" "nix-store --gc --print-roots | grep -v ^/proc/") (writeShellScriptBin "nix-roots" "nix-store --gc --print-roots | grep -v ^/proc/")
(writeShellScriptBin "pip_install" '' (writeShellScriptBin "pip-install" "exec python -m ensurepip --user")
exec nix shell 'nixpkgs/${system-rev}#python3.pkgs.pip' --command pip install --user -UI pip setuptools
'')
(writeShellScriptBin "nixos-check-reboot" '' (writeShellScriptBin "nixos-check-reboot" ''
set -e set -e