Skip to content

Commit 1cae426

Browse files
committed
Run nix-fast-build from the GH Actions workflow
No need to run an extra shell script to run nix-fast-build.
1 parent 362fdc9 commit 1cae426

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/nix-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ jobs:
7070
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
7171
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
7272
- name: Build psql bundle
73-
run: |
74-
./docker/nix/build_nix.sh
73+
run: >
74+
nix run "github:Mic92/nix-fast-build?rev=b1dae483ab7d4139a6297e02b6de9e5d30e43d48"
75+
-- --skip-cached --no-nom
76+
--flake ".#checks.$(nix eval --raw --impure --expr 'builtins.currentSystem')"
7577
env:
7678
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
7779
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)