Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2fce8da
chore: update (and refactor) flake inputs
jfroche Jul 7, 2025
41fb6c7
chore: replace (deprecated) `substituteAll` by `replaceVars`
jfroche Jul 7, 2025
a0a68e6
chore: fix missing required `teams` meta attribute
jfroche Jul 7, 2025
48836e8
chore: update old (unsupported) version of nix used in script
jfroche Jul 7, 2025
eed9797
fix: overlay and use our `buildPgrxExtension` function
jfroche Jul 7, 2025
b57d6e6
chore: `v8` has been removed from nixpkgs and replaced with `nodejs.l…
jfroche Jul 7, 2025
e979dd5
chore: fix formatting
jfroche Jul 7, 2025
fcfdfe2
chore: fix a warning about `overrideAttrs` usage
yvan-sraka Jul 11, 2025
e9de07e
chore: bump `pgrouting` version to 3.8.0
yvan-sraka Jul 11, 2025
3ffbf79
Backport tzdata fixes for postgresql 15
jfroche Jul 18, 2025
456a24c
fix: plv8 3.1 requires older v8
jfroche Jul 21, 2025
016b070
chore: remove deprecated appl_sdk frameworks
jfroche Jul 21, 2025
c5fae77
chore: update cargo-pgrx 1.14.3 cargo hash
jfroche Jul 21, 2025
6c8ab8f
chore(postgresql): add isOrioleDB condition
jfroche Jul 21, 2025
98633c4
Fix pgregress tests
jfroche Jul 21, 2025
97cd23d
feat(postgresql): move dynamic modules to default output
jfroche Jul 21, 2025
472804b
feat(postgresql): move libecpq to lib output
jfroche Jul 21, 2025
dd06610
feat(postgresql): split dev output
jfroche Jul 21, 2025
d8ad1b0
feat(postgresql): remove references to llvm-dev on darwin as well
jfroche Jul 21, 2025
79d408a
feat(postgresql): refactor removal of references in bitcode files
jfroche Jul 21, 2025
8c1949b
feat(postgresql): refactor to simplify condition
jfroche Jul 21, 2025
171882c
feat(postgresql): use systemdLibs
jfroche Jul 21, 2025
cfb7e31
feat(postgresql): postgresql_jit.pkgs.postgis: fix build on darwin
jfroche Jul 21, 2025
d7b8162
feat(postgresql): improve fake pg_config in default output
jfroche Jul 21, 2025
1534f07
feat(postgresql): replace `stdenv.is` with `stdenv.hostPlatform.is`
jfroche Jul 21, 2025
8daecd4
feat(postgresql): run full test-suite during checkPhase
jfroche Jul 21, 2025
b1727c9
feat(postgresql): use newer libuuid instead of ossp-uuid
jfroche Jul 21, 2025
7176b6d
feat(postgresql): simplify systemdSupport default value
jfroche Jul 21, 2025
6050efb
feat(postgresql): remove deprecated enableSystemd override
jfroche Jul 21, 2025
26dd9f4
wip
jfroche Jul 22, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
wip
  • Loading branch information
jfroche committed Jul 22, 2025
commit 26dd9f404bcd6584e9ff828115ea43e9412b8255
11 changes: 4 additions & 7 deletions nix/postgresql/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,11 @@ let
"dev"
"doc"
"lib"
"man"
];
outputChecks.out = {
disallowedReferences = [
"dev"
"doc"
"man"
];
disallowedRequisites =
[
Expand All @@ -140,8 +138,6 @@ let
disallowedReferences = [
"out"
"dev"
"doc"
"man"
];
disallowedRequisites =
[
Expand Down Expand Up @@ -195,7 +191,7 @@ let

separateDebugInfo = true;

buildFlags = [ "world" ];
buildFlags = [ "world-bin" ];

# libpgcommon.a and libpgport.a contain all paths returned by pg_config and are linked
# into all binaries. However, almost no binaries actually use those paths. The following
Expand Down Expand Up @@ -279,7 +275,7 @@ let
./patches/export-dynamic-darwin-15-.patch
];

installTargets = [ "install-world" ];
installTargets = [ "install-world-bin" ];

postPatch = ''
substituteInPlace "src/Makefile.global.in" --subst-var out
Expand All @@ -305,7 +301,8 @@ let
# references to -dev, -doc and -man are removed here. References to -lib must be kept,
# because there is a realistic use-case for extensions to locate the /lib directory to
# load other shared modules.
remove-references-to -t "$dev" -t "$doc" -t "$man" "$out/bin/postgres"
remove-references-to -t "$dev" -t "$doc" "$out/bin/postgres"
remove-references-to -t "$dev" -t "$doc" "$out/bin/pg_rewind"

if [ -z "''${dontDisableStatic:-}" ]; then
# Remove static libraries in case dynamic are available.
Expand Down