mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
optimize pip install
This commit is contained in:
parent
50cb0aac28
commit
32fd85a4d3
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue