separateDebugInfo implies __structuredAttrs

This commit is contained in:
Taeer Bar-Yam
2025-12-02 15:19:24 +01:00
committed by Sergei Zimmerman
parent 0dd38bc8b6
commit 8928cb4fb8

View File

@@ -160,6 +160,9 @@ let
pkg-config
];
separateDebugInfo = !stdenv.hostPlatform.isStatic;
# needed by separateDebugInfo
# SEE: https://github.com/NixOS/nixpkgs/pull/394674/commits/a4d355342976e9e9823fb94f133bc43ebec9da5b
__structuredAttrs = finalAttrs.separateDebugInfo;
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
};