feat: fix nix update command

This commit is contained in:
trev 2025-04-16 01:19:56 -04:00
parent a9506ab67b
commit 481758e33b
3 changed files with 12 additions and 1 deletions

View File

@ -25,6 +25,10 @@ jobs:
with:
name: treli
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Install NPM Packages
working-directory: ./client
run: npm ci --legacy-peer-deps
- name: Lint
run: nix develop --command trevstack-lint

View File

@ -23,7 +23,7 @@ fi
echo "updating nix"
cd "${git_root}"
nix-update --flake --version=skip default
nix-update --flake --version=skip --subpackage trevstack-client trevstack
if ! git diff --exit-code flake.nix; then
git add flake.nix
git commit -m "build(nix): updated nix hashes"

View File

@ -24,6 +24,13 @@ apps:
onstart: go build -o ./tmp/app -tags dev && ./tmp/app
onchange: go build -o ./tmp/app -tags dev && ./tmp/app
nix:
color: "#74c7ec"
exts:
- nix
onstart: nix fmt
onchange: nix fmt
prettier:
color: "#fab387"
dir: client