From ae9d449a3e70e928d0ea297510a158522d75178a 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; }); }) ];