git: __structuredAttrs = true

needed for separateDebugInfo
This commit is contained in:
Guillaume Girol
2025-06-14 22:14:55 +02:00
parent a924c0eb95
commit 318b8c61bd
@@ -94,6 +94,7 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [ "out" ] ++ lib.optional withManual "doc";
separateDebugInfo = true;
__structuredAttrs = true;
hardeningDisable = [ "format" ];
@@ -165,7 +166,7 @@ stdenv.mkDerivation (finalAttrs: {
];
# required to support pthread_cancel()
NIX_LDFLAGS =
env.NIX_LDFLAGS =
lib.optionalString (stdenv.cc.isGNU && stdenv.hostPlatform.libc == "glibc") "-lgcc_s"
+ lib.optionalString (stdenv.hostPlatform.isFreeBSD) "-lthr";