Skip to content

Commit

Permalink
nix: use keepDebugInfo stdenv adapter in debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Nov 4, 2024
1 parent 0fb9a04 commit 4434009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@

adapters = flatten [
stdenvAdapters.useMoldLinker
(lib.optional debug stdenvAdapters.keepDebugInfo)
];

customStdenv = foldl' (acc: adapter: adapter acc) stdenv adapters;
Expand Down

0 comments on commit 4434009

Please sign in to comment.