From 0dd7700501daa2022420decaac9c789d4de75e5c Mon Sep 17 00:00:00 2001 From: cspark Date: Fri, 13 Dec 2024 16:07:21 +0000 Subject: [PATCH] Install python packages --- global.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/global.nix b/global.nix index d7dbdffd..b82e0f64 100644 --- a/global.nix +++ b/global.nix @@ -18,13 +18,27 @@ stablePackages = with inputs.nixpkgs-stable.legacyPackages.x86_64-linux; [ gtk-pipe-viewer ]; + + # You can specify here what python packages you waint available to python + # Custom Python package with all the (Python) imports I need + my-python-packages = python-packages: with python-packages; [ # ... + setuptools + watchdog + epc + six + rapidfuzz + paramiko + ]; + python-with-my-packages = pkgs.python3.withPackages my-python-packages; in # Normal (unstable) packages with pkgs; [ + python-with-my-packages + nix-index git - wget - ntfs3g + wget + ntfs3g # Programming Stuff, language servers etc gcc @@ -73,7 +87,6 @@ appimage-run imagemagick yt-dlp - python3 cifs-utils exfatprogs usbutils