Wolfgang Walther and Wolfgang Walther
a132a4fe2c
chore(deps): update nixpkgs
2024-07-07 11:05:10 +02:00
Wolfgang Walther
70a8a80491
Revert "fix: Build static postgrest with GSSAPI support"
...
This reverts commit c94aa9ccd9 .
2024-06-05 19:59:07 +02:00
Wolfgang Walther
b4d235f72a
nix: refactor to remove TODO
...
We have meanwhile received the commit in question.
2024-06-05 19:53:29 +02:00
Wolfgang Walther
6caaee777b
nix: Simplify static.nix
...
The enable-executable-static flag is set by default, so doesn't make a difference.
The pkg-config improvement for libpq was merged upstream, so we can use the same
here already.
2024-02-24 15:38:02 +01:00
Wolfgang Walther
ccc386cf38
nix: Add deadnix to postgrest-lint and remove dead nix code
2024-02-24 13:08:04 +01:00
Wolfgang Walther
caf0a70171
nix: Clarify pkg-config usage in static.nix a bit
...
This will make it easier to make the switch from pkgsCross.libpq to pkgsStatic.libpq,
once that is possible to build upstream - if ever.
2024-02-24 12:08:40 +01:00
Wolfgang Walther and Wolfgang Walther
cc9b725005
nix: Remove libkrb5 references from static executable
2024-02-06 10:19:31 +01:00
Wolfgang Walther and Wolfgang Walther
f51090f3d1
nix: Check static executable for /nix/store references
...
This makes the static build fail in case any references to the nix store
are left over. Those will increase the closure size of the nix derivation
massively and lead to a huge docker image.
At the same time, those references will not be functional on non-nix systems,
to which the static executable is distributed, anyway.
2024-02-06 10:19:31 +01:00
Wolfgang Walther and Wolfgang Walther
c43696c9a6
nix: Move postgrest-check-static inside derivation of static package
...
This will make the static build fail if we're not producing a static binary.
2024-01-26 23:24:12 +01:00
Wolfgang Walther and Wolfgang Walther
c94aa9ccd9
fix: Build static postgrest with GSSAPI support
...
Resolves #2815
2024-01-26 17:17:05 +01:00
Wolfgang Walther and Wolfgang Walther
85fbb233a7
nix: Build only libpq instead of full postgresql package
2024-01-26 17:17:05 +01:00
Wolfgang Walther and Wolfgang Walther
259d97acee
nix: Build static postgrest executable via pkgsStatic
...
This replaces the build via static-haskell-nix and will hopefully make
it possible to cross compile in the future.
2024-01-26 17:17:05 +01:00