mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Add python
This commit is contained in:
parent
82e03f107d
commit
ad778037d8
@ -4,5 +4,6 @@
|
|||||||
./aspell.nix
|
./aspell.nix
|
||||||
./emacs
|
./emacs
|
||||||
./obs-studio.nix
|
./obs-studio.nix
|
||||||
|
./python.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
13
programs/python.nix
Normal file
13
programs/python.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{ 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 ];
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user