Commit Graph

27 Commits

Author SHA1 Message Date
Rafael Ieda
ee94892bd8 postgresql13Packages.lantern: fix build with cmake4 2025-10-25 17:34:12 -03:00
Diogo Correia
108733a2a2 postgresql18Packages: mark remaining extensions as broken
Those extensions don't support building with PostgreSQL 18, yet.

To make sure the broken status is updated on the next upgrade, they all
have version checks in the form of an evaluation warning, so that there
has be explicit action regarding its PG18 compatibility.
2025-08-09 00:05:22 +01:00
Wolfgang Walther
e1573ae30b postgresqlPackages: remove unused inputs
Thanks, deadnix.
2025-05-11 10:44:16 +02:00
Wolfgang Walther
72b8186ff7 postgresqlPackages: rename buildPostgresqlExtension to postgresqlBuildExtension
This is for consistency with postgresqlTestExtension and
postgresqlTestHook. Everything that is passed via postgresql's
generic.nix "packages scope" now is prefixed with "postgresql".
2025-03-18 18:17:24 +01:00
Wolfgang Walther
f0a6c688a6 postgresqlPackages.lantern: modernize 2025-03-18 18:16:39 +01:00
Emily
205c1696b8 treewide: remove obsolete aligned allocation workarounds 2025-01-04 21:20:40 +00:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Wolfgang Walther
e87aa28b9c postgresqlPackages.lantern: 0.4.1 -> 0.5.0 2024-11-16 14:03:06 +01:00
Nick Cao
57ffa0833c postgresqlPackages.lantern: update license (#355841) 2024-11-14 08:44:04 -05:00
zowoq
dfedbb6088 postgresqlPackages.lantern: update license
license was changed to agpl3 in the 0.4.0 release

7ed99eb2b8
2024-11-14 17:29:45 +10:00
Wolfgang Walther
e24121ec20 postgresqlPackages: replace custom installPhase with buildPostgresqlExtension helper 2024-10-29 09:55:20 +01:00
Fabián Heredia Montiel
34b62f7c47 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 16:10:56 -06:00
Wolfgang Walther
29225a3106 postgresqlPackages.lantern: 0.3.3 -> 0.4.1
Changelog at:
https://github.com/lanterndata/lantern/releases
2024-10-27 09:02:44 +01:00
Wolfgang Walther
357b7aabfe postgresqlJitPackages.lantern: fix build
The link_llvm_objects.sh script used a hardcoded /bin/bash shebang,
which failed during a JIT-enabled build.
2024-10-27 09:00:40 +01:00
Wolfgang Walther
8b831f9b15 postgresqlPackages.lantern: 0.2.4 -> 0.3.3
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/lanterndata/lantern/releases
2024-10-26 15:15:23 +02:00
Maximilian Bosch
fc16319c06 Merge: postgresqlPackages: refactor extension checks with helper (#343486) 2024-09-25 19:06:11 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Wolfgang Walther
2b9fa464cf postgresqlPackages: refactor extension checks
The withPackages scope now provides a "postgresqlTestExtension" helper
which removes all the boilerplate for those kind of tests.

This was Mario Rodas' idea in #299756.
2024-09-21 14:16:12 +02:00
Wolfgang Walther
b6567e0a54 postgresqlPackages.lantern.tests.extension: fix test
The name of the access method was changed upstream a while ago.
2024-09-21 14:16:12 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
Mario Rodas
c30c183bae postgresqlPackages.lantern: set pname to postgresql-lantern
To avoid Repology to mistake it for another project named Lantern.
2024-04-21 04:20:00 +00:00
R. Ryantm
b9a629203c postgresql13Packages.lantern: 0.2.3 -> 0.2.4 2024-04-15 03:41:04 +00:00
R. Ryantm
f9157e0977 postgresql13Packages.lantern: 0.2.2 -> 0.2.3 2024-04-10 03:00:50 +00:00
R. Ryantm
334b49ce2a postgresql13Packages.lantern: 0.2.1 -> 0.2.2 2024-03-27 13:43:45 +00:00
R. Ryantm
e3acd5fbcf postgresqlJitPackages.lantern: 0.2.0 -> 0.2.1 2024-03-11 18:11:45 +00:00
R. Ryantm
6d762aa899 postgresql14Packages.lantern: 0.0.12 -> 0.2.0 2024-02-24 07:56:23 +00:00
Mario Rodas
41200e8a87 postgresqlPackages.lantern: init at 0.0.12 2024-02-01 04:20:00 +00:00