diff options
author | sternenseemann <sternenseemann@systemli.org> | 2024-09-01 11:22:22 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2024-09-01 11:22:22 +0200 |
commit | 569f3e8c5bb3cf6fe0aec295099a6c1a41973e28 (patch) | |
tree | 5c2c2166842de8252721ad47017b6eb2d7dda2ee | |
parent | b385174fedd55d8a8c42d8aa354ef02a1314a1fd (diff) |
haskellPackages.postgresql-libpq: >= 0.10.2 and deps are broken
postgresql-libpq >= 0.10.2 invented a frankly bizarre way to discover the libpq dependency of never actually declaring the dependency in any cabal file, but instead discovering during configure whether it happens to be installed anyways. Obviously this will require special consideration from our side. (Probably we'll continue using pkg-config which requires us to manually add pkg-config and libpq to the build environment of postgresql-libpq-pkgconfig.) Since Stackage LTS doesn't contain >= 0.10.2 yet, I'll ignore this for now as I lack the patience at the moment.
3 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index 9a23304d6e66a..c33342ff0efbc 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -4689,6 +4689,8 @@ broken-packages: - postgresql-config # failure in job https://hydra.nixos.org/build/233197788 at 2023-09-02 - postgresql-cube # failure in job https://hydra.nixos.org/build/233195283 at 2023-09-02 - PostgreSQL # failure in job https://hydra.nixos.org/build/233258066 at 2023-09-02 + - postgresql-libpq-configure # doesn't declare system deps, but only needed for postgresql-libpq >= 0.11 + - postgresql-libpq-pkgconfig # doesn't declare system deps, but only needed for postgresql-libpq >= 0.11 - postgresql-lo-stream # failure in job https://hydra.nixos.org/build/233194012 at 2023-09-02 - postgresql-ltree # failure in job https://hydra.nixos.org/build/233199998 at 2023-09-02 - postgresql-named # failure in job https://hydra.nixos.org/build/233241920 at 2023-09-02 diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml index 6f0206c3e7c76..edc45698252a2 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml @@ -3160,6 +3160,7 @@ dont-distribute-packages: - poseidon - poseidon-postgis - postgresql-common-persistent + - postgresql-libpq_0_10_2_0 - postgresql-pure - postgresql-simple-ltree - postgresql-simple-queue diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index f2b07300c4534..48e52489f39ac 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -244509,6 +244509,8 @@ self: { doHaddock = false; description = "low-level binding to libpq: configure based provider"; license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + broken = true; }) {}; "postgresql-libpq-notify" = callPackage @@ -244539,6 +244541,8 @@ self: { doHaddock = false; description = "low-level binding to libpq: pkg-config based provider"; license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + broken = true; }) {libpq = null;}; "postgresql-lo-stream" = callPackage |