fix: defined python311, python312, and python313 shells
This commit is contained in:
parent
d47933f8dd
commit
2dfaea165a
3 changed files with 27 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
poetry
|
||||
python311Full
|
||||
python311
|
||||
python311Packages.virtualenv
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
poetry
|
||||
python312Full
|
||||
python312
|
||||
python312Packages.virtualenv
|
||||
];
|
||||
|
||||
|
|
|
|||
25
shells/languages/python/python313/default.nix
Executable file
25
shells/languages/python/python313/default.nix
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
pkgs,
|
||||
mkShell,
|
||||
...
|
||||
}:
|
||||
mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
poetry
|
||||
python313
|
||||
python313Packages.virtualenv
|
||||
];
|
||||
|
||||
packages = with pkgs; [
|
||||
python313Packages.debugpy
|
||||
yapf
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${pkgs.libGL}/lib
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${pkgs.glib.out}/lib
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${pkgs.stdenv.cc.cc.lib}/lib
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/run/opengl-driver/lib
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NIX_LD_LIBRARY_PATH
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue