TakodaS 149824a515 WIP: nixified webui
currently packaging as a nixosModule so should be easy to integrate with
nixos generators in the future. Also looking at making a docker image
without systemd
2025-03-10 17:51:53 +00:00

26 lines
368 B
Nix

{
pkgs,
lib,
system,
self,
...
}:
let
inherit (self.packages.${system}) venv;
in
pkgs.mkShell {
packages = [
pkgs.uv
pkgs.python310
];
env = {
UV_NO_SYNC = "1";
UV_PYTHON = "${pkgs.python310}";
UV_PYTHON_DOWNLOADS = "never";
};
shellHook = ''
unset PYTHONPATH
export REPO_ROOT=$(git rev-parse --show-toplevel)
'';
}