dotfiles/entropy/nixos/modules/python.nix

20 lines
441 B
Nix
Raw Normal View History

2020-12-21 14:13:39 +00:00
# This file is not linked
{ pkgs, ... }:
{
environment.systemPackages = with pkgs;
let
my-python-packages = python-packages: with python-packages; [
pygments
pandas
numpy
pylint
# rpy2
# NOTE(feliix42): due to security vulnerability in the naughty zone for now.
#jupyter
2020-12-21 14:13:39 +00:00
];
python-with-my-packages = python3.withPackages my-python-packages;
in
[ python-with-my-packages ];
}