[NixOS] Move my-python-packages to overlay

This commit is contained in:
Ivan Malison 2024-04-28 17:17:06 -06:00
parent c0c51f571d
commit 29e68d1714
2 changed files with 25 additions and 21 deletions

View File

@ -1,19 +1,4 @@
{ pkgs, ... }:
let
my-python-packages = python-packages: with python-packages; [
appdirs
ipdb
ipython
numpy
openpyxl
pip
requests
tox
virtualenv
virtualenvwrapper
];
python-with-my-packages = pkgs.python311.withPackages my-python-packages;
in
{
nixpkgs.config.allowBroken = true;
@ -31,6 +16,7 @@ in
emacs
fd
ffmpeg
bento4
file
gawk
gcc

View File

@ -49,6 +49,24 @@ final: prev: {
withTreeSitter = true;
};
python-with-my-packages = let
my-python-packages = python-packages:
with python-packages; [
argcomplete
appdirs
ipdb
ipython
numpy
openpyxl
pip
requests
tox
virtualenv
virtualenvwrapper
];
in
final.python311.withPackages my-python-packages;
# gitea = prev.gitea.overrideAttrs(_: {
# src = prev.fetchFromGitHub {
# repo = "gitea";