mirror of
https://codeberg.org/muon/home.git
synced 2026-03-10 04:13:13 +00:00
Fix shell for nu
This commit is contained in:
parent
a8c48415a4
commit
dcce5135aa
3 changed files with 358 additions and 4 deletions
|
|
@ -60,7 +60,10 @@ _hr_py_files() {
|
|||
venv.enable = true;
|
||||
uv = {
|
||||
enable = true;
|
||||
sync.enable = false;
|
||||
sync = {
|
||||
enable = true;
|
||||
allExtras = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -69,12 +72,12 @@ _hr_py_files() {
|
|||
env.PROJECT_ID = "mk2-test";
|
||||
|
||||
enterShell = ''
|
||||
export PATH="\$DEVENV_STATE/venv/bin:\$PATH"
|
||||
if ! gcloud auth print-access-token >/dev/null 2>&1; then
|
||||
echo "⚠️ gcloud not authenticated. Run 'gcloud auth login' to access Google Artifact Registry."
|
||||
else
|
||||
export UV_INDEX_GOOGLE_PASSWORD=\$(gcloud auth print-access-token)
|
||||
fi
|
||||
uv sync
|
||||
'';
|
||||
}
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue