feat: fix nix update command
This commit is contained in:
parent
a9506ab67b
commit
481758e33b
4
.github/workflows/lint.yaml
vendored
4
.github/workflows/lint.yaml
vendored
@ -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
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user