-
-
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
stdenv: move overriden stdenv in closure #147544
Conversation
Before that, base stdenv passed non-makeOverridable version of itself inside. This cause it to be lost on package-name.stdenv.
oof, okay, that prompts a lot of buzz. |
Haven't looked at this in depth, but thanks :) Will this make #136804 unnecessary? |
My solution does not add back |
with this patch,
I used to use this kind of thing to set separateDebugInfo and meta.outputsToInstall. This is with nix2.4 and nixpkgs@d4839a7e572f5ada860ad3b7f0d2d76ebb860ffb + this PR |
actually, with the above setup firefox fails, but emacs does not:
|
That does get fixed by adding "..." to wrapper in firefox, alas I am not sure why it was broken in the first place. |
@rski Fun fact is that enableDebugging was not working in firefox since at least fix-stdenv-override~85240. (enableDebugging hello) worked back then. So I guess that's on firefox side, and will require separate PR. |
hah ok, that's fine then, thanks for checking and thank you so much for trying to fix this |
@NixOS/nixos-release-managers please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks correct; I'm not sure what the policy on updating codeowners is.
@Ericson2314, can you please review the change?) |
This does not change hashes so it seems low risk for a stdenv change. |
Backport after testing it on unstable for a while? |
after a while, why not |
has a while passed? |
Yes I think so, and no issue was linked here in the meantime. |
Successfully created backport PR #154652 for |
Before that, base stdenv passed non-makeOverridable version of itself
inside. This caused it to be lost on package-name.stdenv.
Motivation for this change
Make package.stdenv.override work again.
Read commit message for more info.
Fixes #136756
Also I think it does not actually change stdenv in hash-breaking way, so it does not require world-rebuild.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes