dotfiles/entropy/nixos/modules/python.nix

18 lines
343 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
];
python-with-my-packages = python3.withPackages my-python-packages;
in
[ python-with-my-packages ];
}