1
Fork 0
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:
RGBCube 2023-05-27 21:21:52 +03:00
parent 7201ac5acc
commit 2d48452cce
No known key found for this signature in database
2 changed files with 9 additions and 8 deletions

View file

@ -24,8 +24,3 @@ let-env NU_PLUGIN_DIRS = [
| path dirname
| path join 'plugins')
]
def venv [] {
virtualenv venv
source ./venv/bin/activate.nu
}

View file

@ -1,10 +1,16 @@
{ pkgs, systemPackages, ... }:
{ lib, pkgs, systemPackages, homeConfiguration, ... }: lib.recursiveUpdate
with pkgs; systemPackages [
(with pkgs; systemPackages [
(python311.withPackages (pkgs: with pkgs; [
pip
requests
]))
virtualenv
poetry
]
])
(homeConfiguration "nixos" {
programs.nushell.shellAliases = {
venv = "virtualenv venv";
};
})