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.
This commit is contained in:
Wolfgang Walther
2024-01-26 17:17:05 +01:00
committed by Wolfgang Walther
parent 3a639c7172
commit 259d97acee
10 changed files with 74 additions and 172 deletions
-9
View File
@@ -33,15 +33,6 @@ postgrest-nixpkgs-upgrade
```
## Update pinned version of `static-haskell-nix`
We pin [`static-haskell-nix`](https://github.com/nh2/static-haskell-nix) in
[`nix/static-haskell-package.nix`](static-haskell-package.nix). Upgrade the
pinned revision and the tarball hash if necessary. See
[`nix/nixpkgs-upgrade.nix`](nixpkgs-upgrade.nix) for how to get the correct
tarball hash, or just change the hash to an arbitrary value of correct length,
run `nix-build` and use the expected value from the resulting error message.
## Review overlays
Check whether the individual [overlays](overlays) are still required.