mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Can't do a dynamic source in Nu yet so revert everything and use venv as an alias to virtualenv venv
This commit is contained in:
parent
7201ac5acc
commit
2d48452cce
2 changed files with 9 additions and 8 deletions
|
@ -24,8 +24,3 @@ let-env NU_PLUGIN_DIRS = [
|
||||||
| path dirname
|
| path dirname
|
||||||
| path join 'plugins')
|
| path join 'plugins')
|
||||||
]
|
]
|
||||||
|
|
||||||
def venv [] {
|
|
||||||
virtualenv venv
|
|
||||||
source ./venv/bin/activate.nu
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
{ pkgs, systemPackages, ... }:
|
{ lib, pkgs, systemPackages, homeConfiguration, ... }: lib.recursiveUpdate
|
||||||
|
|
||||||
with pkgs; systemPackages [
|
(with pkgs; systemPackages [
|
||||||
(python311.withPackages (pkgs: with pkgs; [
|
(python311.withPackages (pkgs: with pkgs; [
|
||||||
pip
|
pip
|
||||||
requests
|
requests
|
||||||
]))
|
]))
|
||||||
virtualenv
|
virtualenv
|
||||||
poetry
|
poetry
|
||||||
]
|
])
|
||||||
|
|
||||||
|
(homeConfiguration "nixos" {
|
||||||
|
programs.nushell.shellAliases = {
|
||||||
|
venv = "virtualenv venv";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue