added uv sync to shell hook

This commit is contained in:
John Lancaster
2024-09-16 04:00:00 +00:00
parent 0999bf43ec
commit 404ce85430
2 changed files with 5 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ in
ssh.enable = true;
bash = {
enable = true;
profileExtra = "cd ${adPath}";
profileExtra = "cd ${adNixPath}";
};
};
};

View File

@@ -6,7 +6,7 @@ pkgs.mkShell {
unstable.uv
unstable.python312Packages.ipykernel
unstable.python312Packages.rich
pkgs.python312Packages.iso8601
# pkgs.python312Packages.iso8601
# unstable.appdaemon
];
@@ -16,6 +16,9 @@ pkgs.mkShell {
alias dbuild="docker build -t acockburn/appdaemon:local-dev /usr/src/app"
alias fbuild="build && dbuild"
alias clean="cd /usr/src/app && rm -rf ./build ./dist"
alias python="/usr/src/app/.venv/bin/python3"
alias ad="python -m appdaemon"
cd /usr/src/app
uv sync --all-extras --upgrade --inexact
'';
}