1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
nixos/programs/python.nix
2022-03-28 09:52:18 +02:00

14 lines
310 B
Nix

{ config, lib, pkgs, ... }:
with pkgs;
let
my-python-packages = python-packages: with python-packages; [
pandas
requests
# other python packages you want
];
python-with-my-packages = python3.withPackages my-python-packages;
in
{
environment.systemPackages = [ python-with-my-packages ];
}