Enable separatedebuginfo for common BSC packages

For now, we keep dontStrip for packages that already had it for systems
without the separatedebuginfo support.

Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
2023-11-20 15:43:29 +01:00
committed by Rodrigo Arias Mallo
parent e7bdc1595a
commit 4316e7b12d
6 changed files with 7 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ in
stdenv.mkDerivation rec {
pname = "ovni";
inherit (source) src version;
dontStrip = true;
separateDebugInfo = true;
postPatch = ''
patchShebangs --build test/
'';
@@ -47,7 +49,6 @@ in
preCheck = ''
export CTEST_OUTPUT_ON_FAILURE=1
'';
dontStrip = true;
doCheck = true;
checkTarget = "test";
hardeningDisable = [ "all" ];