apacheHttpd: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-03 12:58:36 +01:00
parent 7c13b38779
commit 887559386d
+3 -1
View File
@@ -86,7 +86,9 @@ stdenv.mkDerivation rec {
'';
# Required for pthread_cancel.
NIX_LDFLAGS = lib.optionalString (!stdenv.hostPlatform.isDarwin) "-lgcc_s";
env = lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) {
NIX_LDFLAGS = "-lgcc_s";
};
configureFlags = [
"--with-apr=${apr.dev}"