fix: move --accept-flake-config before -- in bun2nix step

The flag was being passed to bun2nix instead of nix, causing
"unexpected argument" error.
This commit is contained in:
Arunavo Ray
2026-03-24 08:22:04 +05:30
parent 38002019ea
commit 8346748f5a

View File

@@ -44,7 +44,7 @@ jobs:
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Regenerate bun.nix from bun.lock
run: nix run github:nix-community/bun2nix -- -o bun.nix --accept-flake-config
run: nix run --accept-flake-config github:nix-community/bun2nix -- -o bun.nix
- name: Check flake
run: nix flake check --accept-flake-config