Files
Mini-Nav/devenv.nix
SikongJueluo eaf02cc97a chore: update dev environment and sync workflow
- Add nil LSP package to devenv.nix
- Add datasets and rich.progress imports to feature_retrieval.py
- Update pyproject.toml ty environment config
- Expand .stignore with cache directories
- Update uv.lock dependency lock
- Update AGENTS.md, adding the content of development environment11
2026-04-02 15:02:51 +08:00

34 lines
658 B
Nix

{
pkgs,
lib,
config,
inputs,
...
}: let
pkgs-nixgl =
(import inputs.nixpkgs {
system = pkgs.stdenv.hostPlatform.system;
config.allowUnfree = true;
overlays = [inputs.nixgl.overlay];
}).nixgl.override {
nvidiaVersionFile = "/proc/driver/nvidia/version";
nvidiaVersion = "580.126.09";
};
in {
packages = with pkgs; [
nil
];
enterShell = ''
export UV_PROJECT_ENVIRONMENT=$MAMBA_ROOT_PREFIX/envs/mini-nav
eval "$(micromamba shell hook --shell bash)"
micromamba activate mini-nav
which uv
which python
'';
# See full reference at https://devenv.sh/reference/options/
}