-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.9.needs: documentationThis needs to be documented well.This needs to be documented well.
Description
To enable debug info for a package that doesn't have it, one might naively expect this work:
nixpkgs.config.packageOverrides = pkgs: {
hello = overrideDerivation pkgs.hello (attrs: {
separateDebugInfo = true;
});
};
However, this doesn't work because separateDebugInfo affects mkDerivation, not derivation. So we'd need some way to re-call the original mkDerivation invocation with new arguments.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.9.needs: documentationThis needs to be documented well.This needs to be documented well.