Skip to content

Commit

Permalink
fix: postgresql static build
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillespie committed Oct 15, 2024
1 parent 92de4cf commit 79d2d34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
})
];
Expand Down

0 comments on commit 79d2d34

Please sign in to comment.