fix(config): add replit.nix config (#20)

This commit is contained in:
Krzysztof G 2022-07-20 08:56:54 +02:00 committed by GitHub
parent 45ca1f3ab6
commit 331d1610dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
replit.nix Normal file
View File

@ -0,0 +1,20 @@
{ pkgs }: {
deps = [
pkgs.python38Full
pkgs.python38Packages.pandas
pkgs.python38Packages.seaborn
];
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";
};
}