Skip to content

Commit

Permalink
bug fix (#19)
Browse files Browse the repository at this point in the history
* bug fix

* pin pixi on macOS

* fix package name

* add token

* remove token

* skip self-update if in CI
  • Loading branch information
danielnachun authored Jan 12, 2025
1 parent b22103c commit 06e7b64
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dispatch_ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Dispatch CI

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion dot_config/chezmoi/macos_packages
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ colima
djvulibre
docker-cli
docker-buildx
docker-credential-helper
docker-credential-helpers
ghostscript
lima-vm
mas
Expand Down
1 change: 0 additions & 1 deletion dot_config/chezmoi/python_packages
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ sos
sos-bash
sos-notebook
sos-python
sos-r
sympy
usort
yapf
Expand Down
6 changes: 6 additions & 0 deletions run_once_install-packages.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
set -o xtrace -o errexit

if [ ! -f $HOME/.pixi/bin/pixi ]; then
{{ if eq .chezmoi.os "darwin" -}}
export PIXI_VERSION=v0.38.0
{{end }}
curl -fsSL https://pixi.sh/install.sh | bash
if [ ! -f $HOME/.bashrc ]; then
echo 'PATH="${HOME}/.pixi/bin:${PATH}"' >> ${HOME}/.bashrc
Expand Down Expand Up @@ -55,6 +58,9 @@ fi
{{ if eq .chezmoi.arch "amd64" -}}
pixi global install -c dnachun -c conda-forge $(tr '\n' ' ' < $HOME/.local/share/chezmoi/dot_config/chezmoi/intel_packages)
{{ end }}
if [[ ${CI} != "true" ]]; then
pixi self-update
fi

micromamba shell init --shell=bash $HOME/micromamba
micromamba shell init --shell zsh
Expand Down

0 comments on commit 06e7b64

Please sign in to comment.