Skip to content

Commit 5346510

Browse files
committed
separateDebugInfo -> __structuredAttrs
1 parent e64786e commit 5346510

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packaging/components.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,13 @@ let
155155
];
156156
};
157157

158-
mesonBuildLayer = finalAttrs: prevAttrs: {
158+
mesonBuildLayer = finalAttrs: prevAttrs: rec {
159159
nativeBuildInputs = prevAttrs.nativeBuildInputs or [ ] ++ [
160160
pkg-config
161161
];
162162
separateDebugInfo = !stdenv.hostPlatform.isStatic;
163+
# SEE: https://github.com/NixOS/nixpkgs/blob/25.11/pkgs/stdenv/generic/make-derivation.nix#L401-L404
164+
__structuredAttrs = separateDebugInfo;
163165
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
164166
};
165167

0 commit comments

Comments
 (0)