I tried now for multiple days with countless combinations of enableDebugging, override, overrideAttrs or every hint I found so far. I can’t remember all the combinations, I tried only that I compiled QT very, very often.
All I want is to have debugging symbols of QT in the development shell created by our shell.nix but nothing seems to work.
I tried:
buildInputs = [
(pkgs.enableDebugging ((pkgs.qt5.override {debug = true; developerBuild = true;}).qtbase))
....
];
Nor this try:
buildInputs = [
pkgs.qt5.qtbase.overrideAttrs (oldAttrs: rec {
separateDebugInfo = false;
dontStrip = true;
debug = true;
developerBuild = true;
})
...
];
My environment.enableDebugInfo = true;
is set but the shell does only have:
declare -x NIX_DEBUG_INFO_DIRS="/run/current-system/sw/lib/debug"
Why are there no directories to the debug symbols of buildInputs ?
I even tried patching around in my nixpkgs, but all the time the f*** strips when building qt. I run out of ideas in this super frustrating endeavor
please help before I install debian again