File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 70
70
--extra-conf "trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
71
71
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
72
72
cp ./docker/nix/build_nix.sh ./build_nix.sh
73
- sed -i '' 's/cd workspace//g' ./build_nix.sh
74
73
sed -i '' '1s|^#!/bin/env bash|#!/usr/bin/env bash|' ./build_nix.sh
75
74
chmod +x ./build_nix.sh
76
75
./build_nix.sh
Original file line number Diff line number Diff line change 2
2
set -eou pipefail
3
3
4
4
nix --version
5
- cd /workspace
5
+ if [ -d " /workspace" ]; then
6
+ cd /workspace
7
+ fi
6
8
nix build .# psql_15/bin -o psql_15
7
9
nix flake check -L
8
10
nix copy --to s3://nix-postgres-artifacts? secret-key=nix-secret-key ./psql_15
You can’t perform that action at this time.
0 commit comments