From 37608af2391f0d7bd5c7aac09d35f36529bb4a83 Mon Sep 17 00:00:00 2001 From: Krzysztof G <60067306+gikf@users.noreply.github.com> Date: Wed, 20 Jul 2022 08:13:30 +0200 Subject: [PATCH] fix(config): add replit.nix config (#9) --- replit.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 replit.nix diff --git a/replit.nix b/replit.nix new file mode 100644 index 0000000..2aea13f --- /dev/null +++ b/replit.nix @@ -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"; + }; +} \ No newline at end of file