From 0afbd6c86a29160386e5386332b65ba707a25340 Mon Sep 17 00:00:00 2001 From: Niklas Hambüchen Date: Sun, 23 May 2021 16:25:52 +0200 Subject: libredirect: Enable debug symbols --- pkgs/build-support/libredirect/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkgs/build-support/libredirect') diff --git a/pkgs/build-support/libredirect/default.nix b/pkgs/build-support/libredirect/default.nix index b5836d1a3803a..42525ec98a7e4 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 -- cgit 1.4.1