Skip to content

postgresql{16,17}Packages.age: 1.5.0-rc0 -> 1.6.0-rc0#451417

Merged
wolfgangwalther merged 3 commits intoNixOS:masterfrom
jopejoe1:postgresPackages.age-update
Oct 13, 2025
Merged

postgresql{16,17}Packages.age: 1.5.0-rc0 -> 1.6.0-rc0#451417
wolfgangwalther merged 3 commits intoNixOS:masterfrom
jopejoe1:postgresPackages.age-update

Conversation

@jopejoe1
Copy link
Member

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Oct 12, 2025
@jopejoe1 jopejoe1 force-pushed the postgresPackages.age-update branch from 1635403 to fa876ac Compare October 12, 2025 18:00
Ma27
Ma27 previously requested changes Oct 12, 2025
Copy link
Member

@Ma27 Ma27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes still possible to eval the drv just not possible to build

I'd argue that catching obvious errors is a feature, not a bug.

That being said, in this specific case you can even catch the error with builtins.tryEval.

@jopejoe1
Copy link
Member Author

I want throws to fail for what I'm implementing and thus can't really make use of builtins.tryEval.

The correct approach would probably be to not even expose this package in postgresql18Packages as it is currently not supported for that Postgres version.

Also, the meta.brocken flag already tells people that it's broken, so they should not really ever get to see the error anyway.

@Ma27
Copy link
Member

Ma27 commented Oct 12, 2025

The correct approach would probably be to not even expose this package in postgresql18Packages as it is currently not supported for that Postgres version.

Fair.
But even in that case, just giving setting the hash to null seems pretty hacky (this instantiates a derivation that isn't a fixed output derivation btw).

In cases where src was a throw, meta failed to eval fixing this by not referencing src in meta.
@jopejoe1 jopejoe1 force-pushed the postgresPackages.age-update branch from fa876ac to 01238f3 Compare October 13, 2025 07:46
@jopejoe1 jopejoe1 requested a review from Ma27 October 13, 2025 09:15
Copy link
Contributor

@wolfgangwalther wolfgangwalther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 451417
Commit: 01238f33ac76d13e8b45fce3f995886c478de395


x86_64-linux

✅ 2 packages built:
  • postgresql16Packages.age
  • postgresqlPackages.age (postgresql17Packages.age)

aarch64-linux

✅ 2 packages built:
  • postgresql16Packages.age
  • postgresqlPackages.age (postgresql17Packages.age)

x86_64-darwin

✅ 2 packages built:
  • postgresql16Packages.age
  • postgresqlPackages.age (postgresql17Packages.age)

aarch64-darwin

✅ 2 packages built:
  • postgresql16Packages.age
  • postgresqlPackages.age (postgresql17Packages.age)

@wolfgangwalther wolfgangwalther dismissed Ma27’s stale review October 13, 2025 10:30

I believe these concerns had been addressed by removing the hash = null stuff.

@wolfgangwalther wolfgangwalther added this pull request to the merge queue Oct 13, 2025
Merged via the queue into NixOS:master with commit c987efa Oct 13, 2025
28 of 31 checks passed
@jopejoe1 jopejoe1 deleted the postgresPackages.age-update branch October 13, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants