[NixOS] Move my-python-packages to overlay
This commit is contained in:
parent
c0c51f571d
commit
29e68d1714
@ -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
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user