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
+2 -5
View File
@@ -1,8 +1,5 @@
{ patches }: self: super:
self: super:
# Overlay that sets the default version of PostgreSQL.
with patches;
{
postgresql = super.postgresql_15.overrideAttrs ({ patches ? [ ], ... }: {
patches = patches ++ [ postgresql-atexit ];
});
postgresql = super.postgresql_15;
}