Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docker/nix/build_nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ nix --version
if [ -d "/workspace" ]; then
cd /workspace
fi
SYSTEM=$(nix-instantiate --eval -E builtins.currentSystem | tr -d '"')
nix build .#psql_15/bin -o psql_15
nix flake check -L
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_15
if [ "$SYSTEM" = "aarch64-linux" ]; then
nix build .#postgresql_15_debug -o ./postgresql_15_debug
nix build .#postgresql_15_src -o ./postgresql_15_src
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_debug-debug
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_src
fi
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
pg_regress = pg_regress;
pg_prove = pkgs.perlPackages.TAPParserSourceHandlerpgTAP;
postgresql_15 = pkgs.postgresql_15;

postgresql_15_debug = if pkgs.stdenv.isLinux then postgresql_15.debug else null;
postgresql_15_src = pkgs.stdenv.mkDerivation {
pname = "postgresql-15-src";
version = pkgs.postgresql_15.version;
Expand Down
Loading