postgresqlPackages.omnigres: init at 0-unstable-2025-05-16#404027
postgresqlPackages.omnigres: init at 0-unstable-2025-05-16#404027wolfgangwalther merged 1 commit intoNixOS:masterfrom
Conversation
wolfgangwalther
left a comment
There was a problem hiding this comment.
Fully aware that this is a draft, but found this PR by chance and wanted to give some feedback anyway.
I can work on this upstream. |
Cool. Support for DESTDIR would probably be the easiest solution that works. That means, you already get some absolute paths from pg_config like
The alternative would be a proper prefix for installation, that might be different than the paths from where you consume things. But that might be harder to implement and get right. |
|
How about this? omnigres/omnigres@00dccfb |
Can you check my latest commit? What is supposed to be set in |
|
It’s where it’ll install .so files into
|
e8201ed to
9347ed2
Compare
|
@yrashk @wolfgangwalther finally I got something to build without issues. nix-build -A postgresql17Packages.omnigres |
7eeb760 to
52582d5
Compare
|
❤️ |
2dfb03d to
a357ed2
Compare
wolfgangwalther
left a comment
There was a problem hiding this comment.
Nice progress! Now, that it builds - let's reduce the code to the minimum required.
After addressing all the comments, also don't forget to remove then-unused arguments from the argument list.
I removed doxygen entirely, because it doesn't seem to make a different for the output of the package anyway.
Also, we have a lot of cmake warnings, that it can't find pg_regress - maybe we can look into that and try to fix it, enabling us to run all those tests?
There was a problem hiding this comment.
I looked into why pg_config and the two directories are required to be passed as flags here - this is because of a bug in how we create our own pg_config for postgresql.withPackages. Fix for that in #407920.
0209e24 to
390d447
Compare
390d447 to
47c2045
Compare
|
0389333 to
fc9db12
Compare
|
|
--------- Co-authored-by: Wolfgang Walther <[email protected]> Co-authored-by: Yurii Rashkovskii <[email protected]>
fc9db12 to
c4381da
Compare
|
@wolfgangwalther done. |
|
We recently removed support for pg13 in Omnigres |
|
Nice work! |
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.