Skip to content

Commit 8aea296

Browse files
committed
chore: install nix
1 parent 89cfcbf commit 8aea296

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/nix-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ jobs:
6565
- name: Build psql bundle on macos
6666
if: matrix.runner == 'macos-latest'
6767
run: |
68+
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm \
69+
--extra-conf "substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com" \
70+
--extra-conf "trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
6871
cp ./docker/nix/build_nix.sh ./build_nix.sh
6972
sed -i '' 's/cd workspace//g' ./build_nix.sh
7073
sed -i '' '1s|^#!/bin/env bash|#!/usr/bin/env bash|' ./build_nix.sh

0 commit comments

Comments
 (0)