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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
run: |
nix-build tests
cd examples/hello
../../result/bin/xpg17 psql -v ON_ERROR_STOP=1 -c "CREATE EXTENSION plpgsql_check;"
../../result/bin/xpg psql -v ON_ERROR_STOP=1 -c "CREATE EXTENSION plpgsql_check;"

build-on-macos:
runs-on: blacksmith-6vcpu-macos-15
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
};
in
{
default = mkApp "xpg" xpgPkgs.xpg17;
default = mkApp "xpg" xpgPkgs.xpg;

xpg12 = mkApp "xpg12" xpgPkgs.xpg12;
xpg13 = mkApp "xpg13" xpgPkgs.xpg13;
Expand Down
4 changes: 3 additions & 1 deletion nix/xpg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ let
xpg =
checked-shell-script
{
name = "xpg${defaultVersion}";
# a build pinned to one version is named after it (xpg17); a build that
# selects the version with -v keeps the plain name consumers call
name = if builtins.length versions == 1 then "xpg${defaultVersion}" else "xpg";
docs = "Develop native PostgreSQL extensions";
args = [
"ARG_POSITIONAL_SINGLE([operation], [Operation])"
Expand Down
Loading