fosrl-pangolin: 1.2.0 -> 1.8.0 - #419533
Conversation
7441a5d to
06e7a41
Compare
9093f73 to
267360c
Compare
|
Updated to 1.6.2. The highlight of this update is the new commands in |
597a9b1 to
1e64d3c
Compare
1e64d3c to
e071662
Compare
jackrosenberg
left a comment
There was a problem hiding this comment.
Revoked approval since nixos/pangolin needs to be updated at the same time as updating to 1.6 and above.
e071662 to
2de9c64
Compare
2de9c64 to
d299df6
Compare
|
1 similar comment
|
532ade7 to
51eeaf5
Compare
- This update introduces the PostgreSQL database type, which can be selected instead of SQLite. - The derivation is now using `finalAttrs`, as buildNpmPackage supports it, so there's no reason to use `rec`. - Finally, in order to simplify the module and allow non-NixOS users to use the Pangolin server, the minified `.mjs` files have been wrapped into shell scripts that can set up an appropriate environment for the server. Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
51eeaf5 to
0e85afd
Compare
|
@NickCao would you mind taking another look at this? |
|
Still not very convinced by the make it work out of nixos part (since most of these users would happily use docker instead), but otherwise lgtm. |
Yea, it's more for the people who use Nix + another distro already. We'll rewrite this as one of the new modular services at some point in the future anyway. |
|
Well, this also has the benefit of making the module simpler. The |
|
@adamcstephens, would you mind taking a look at this? It's part of the pangolin stack, for which you reviewed olm |
|
Sorry this got lost in my pile of backlog. |
|
No worries, thanks! This unblocks #416148, which i will rebase in an hour or so :) |
Changelogs: 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0.
This combined update introduces a new database type for Pangolin: PostgreSQL. The module for it will come at a later date, so no separate package for it right now.
1.6.0 also introduces the
pangctlcommand, which has inspired me to write the spaghetti you see in thepreFixupsection of the diff. By wrapping the*.mjsfiles to actual commands in$out/bin, we can simplify the NixOS module, make it easier to accesspangctl, and allow non-NixOS users to start a Pangolin server without much hassle.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.