-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enableDebugging
does not work anymore: error: attribute 'override' missing
#136756
Comments
It worked in Aug 2018: https://discourse.nixos.org/t/debug-symbols-for-nix-shell-and-nix-build/804/2?u=trofi Bisected down to breakage at f110a18:
Looks like it stems from the fact that /cc @Ericson2314 #134463 |
Woah. master and |
That's surprising. Here is my attempt at current master checkout:
I tried removing |
Does it mean |
i can reproduce |
I can also reproduce with stable Nix (2.3.14):
|
Hmm, the issue is that |
Still reproducible on current master (2652e0b) |
I ran into this. |
Bump, ran into this while updating the Nixpkgs pin on a project of mine. |
There should be a test for this :) |
Gonna spend next hour or two trying to fix this. |
Things that are also missing:
|
So, this function is not executed on passed through stdenv. Not yet sure why. |
Yeah, I've fixed it (thanks, @mrgutkun, for being there ❤️) |
Post-mortem: always read threads. Solution was kinda already provided in #136756 (comment), but I delved right in without knowing that) |
atleast you now know more about stdenv 🙂 |
How is the PR looking? I've been waiting on this for a couple of weeks to debug an intermittent crash I'm having with xfce4-sesion :) |
Describe the bug
I tried to build a
nixpkgs
package with debug symbols today and failed. NixOS wiki and nixpkgs repository comments say the following should work:Steps To Reproduce
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: