From 0afbd6c86a29160386e5386332b65ba707a25340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Sun, 23 May 2021 16:25:52 +0200 Subject: [PATCH] libredirect: Enable debug symbols --- pkgs/build-support/libredirect/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/build-support/libredirect/default.nix b/pkgs/build-support/libredirect/default.nix index b5836d1a3803..42525ec98a7e 100644 --- a/pkgs/build-support/libredirect/default.nix +++ b/pkgs/build-support/libredirect/default.nix @@ -28,6 +28,11 @@ stdenv.mkDerivation rec { runHook postBuild ''; + # We want to retain debugging info to be able to use GDB on libredirect.so + # to more easily investigate which function overrides are missing or why + # existing ones do not have the intended effect. + dontStrip = true; + installPhase = '' runHook preInstall