🚀 add basic python environment
This commit is contained in:
parent
5899f9d948
commit
3ff3229849
3 changed files with 6 additions and 1 deletions
|
@ -61,7 +61,8 @@ in {
|
||||||
xorg.xprop
|
xorg.xprop
|
||||||
|
|
||||||
# :lang python
|
# :lang python
|
||||||
python-language-server
|
nodePackages.pyright
|
||||||
|
python-dev
|
||||||
|
|
||||||
# :email
|
# :email
|
||||||
mu
|
mu
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ inputs }:
|
{ inputs }:
|
||||||
|
|
||||||
final: prev: {
|
final: prev: {
|
||||||
|
python-dev = import ./python.nix final prev;
|
||||||
stable = import inputs.stable {
|
stable = import inputs.stable {
|
||||||
inherit (prev) system;
|
inherit (prev) system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
|
|
3
overlays/python.nix
Normal file
3
overlays/python.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
final: prev:
|
||||||
|
prev.python310.withPackages
|
||||||
|
(packages: with packages; [ black pyflakes isort nose pytest ])
|
Loading…
Reference in a new issue