root: specify separateDebugInfo = true for all pltforms

This commit is contained in:
Yueh-Shun Li
2023-03-05 03:30:17 +08:00
committed by GitHub
parent c89c22a9c2
commit b96226578e
@@ -265,9 +265,10 @@ stdenv.mkDerivation rec {
# add the outPath of root.debug into NIX_DEBUG_INFO_DIRS (in PATH-like format)
# and make sure that gdb from Nixpkgs can be found in PATH.
#
# Building with debug info and separating them is not supported on all systems
# e.g. Darwin fails to support it (#203380)
separateDebugInfo = stdenv.hostPlatform.isLinux;
# Darwin currently fails to support it (#203380)
# we set it to true hoping to benefit from the future fix.
# Before that, please make sure if root.debug exists before using it.
separateDebugInfo = true;
setupHook = ./setup-hook.sh;