From 55c334f9d5f5c29ec3e79de5ef2ec64b9e6afcd7 Mon Sep 17 00:00:00 2001 From: Sean D Gillespie Date: Thu, 10 Oct 2024 09:19:51 -0400 Subject: [PATCH] fix: postgresql static build --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index fd96b40cf..a73f5fd23 100644 --- a/flake.nix +++ b/flake.nix @@ -87,6 +87,9 @@ postgresql = prev.postgresql.overrideAttrs (_: final.lib.optionalAttrs (final.stdenv.hostPlatform.isMusl) { NIX_LDFLAGS = "--push-state --as-needed -lstdc++ --pop-state"; + LC_CTYPE = "C"; + + doCheck = false; }); }) ];