Skip to content

Commit bbb67f3

Browse files
committed
feat: build and cache debug and src on this branch
1 parent 57149e1 commit bbb67f3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docker/nix/build_nix.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ fi
88
nix build .#psql_15/bin -o psql_15
99
nix flake check -L
1010
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_15
11+
if [ "$SYSTEM" = "aarch64-linux" ]; then
12+
nix build .#postgresql_15_debug -o postgresql_15_debug
13+
nix build .#postgresql_15_src -o postgresql_15_src
14+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key copy ./postgresql_15_debug
15+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key copy ./postgresql_15_src
16+
fi

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
pg_regress = pg_regress;
297297
pg_prove = pkgs.perlPackages.TAPParserSourceHandlerpgTAP;
298298
postgresql_15 = pkgs.postgresql_15;
299-
299+
postgresql_15_debug = if pkgs.stdenv.isLinux then postgresql_15.debug else null;
300300
postgresql_15_src = pkgs.stdenv.mkDerivation {
301301
pname = "postgresql-15-src";
302302
version = pkgs.postgresql_15.version;

0 commit comments

Comments
 (0)