fix(config): add replit.nix config (#8)
* fix(config): add replit.nix config * fix: add matplotlib Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com> Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
This commit is contained in:
parent
05c1179bf5
commit
e07823cf8f
21
replit.nix
Normal file
21
replit.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ pkgs }: {
|
||||||
|
deps = [
|
||||||
|
pkgs.python38Full
|
||||||
|
pkgs.python38Packages.matplotlib
|
||||||
|
pkgs.python38Packages.pandas
|
||||||
|
pkgs.python38Packages.scipy
|
||||||
|
];
|
||||||
|
env = {
|
||||||
|
PYTHON_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
||||||
|
# Needed for pandas / numpy
|
||||||
|
pkgs.stdenv.cc.cc.lib
|
||||||
|
pkgs.zlib
|
||||||
|
# Needed for pygame
|
||||||
|
pkgs.glib
|
||||||
|
# Needed for matplotlib
|
||||||
|
pkgs.xorg.libX11
|
||||||
|
];
|
||||||
|
PYTHONBIN = "${pkgs.python38Full}/bin/python3.8";
|
||||||
|
LANG = "en_US.UTF-8";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user