1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Add venv alias again

This commit is contained in:
RGBCube 2023-05-27 21:06:09 +03:00
parent 4a75049b05
commit 27065ad008
No known key found for this signature in database

View file

@ -1,10 +1,19 @@
{ 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.envFile.source = ''
def venv [] {
virtualenv venv
source ./venv/bin/activate.nu
}
'';
})