{ pkgs ? import {} }: pkgs.mkShell { name = "journal-bot-shell"; buildInputs = with pkgs; [ # python python313 # setuptools as downloaded by uv seems to be broken on nixos python313Packages.setuptools uv ]; # fix library dependencies: env.LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ # required by numpy and the likes pkgs.stdenv.cc.cc.lib pkgs.libz ]; # tell UV where to put the virtualenv: # env.UV_PROJECT_ENVIRONMENT = ".cache/uv-venvs/thesis"; # install the python packages through uv: shellHook = " uv sync source .venv/bin/activate "; }