-
-
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
Remove stdenv adapter cruft #171982
Remove stdenv adapter cruft #171982
Conversation
I would post to Nixpkgs to make sure no one is using or. Or maybe @siraben can teach us how to do a deprecation cycle like |
i searched github for them but all i can find is nixpkgs forks eg. |
Well, on principle, we should still do deprecation cycles. It shouldn't be too hard, and there is no good thing that this stuff is blocking. As one that loves cleaning things up and thinks stability is overrated in many quarters, I've nonetheless learned that deprecation cycles are good politics, and polite, and simply the right thing to do. If 9 times out of ten no one is using the thing, but 1 time out of 10 you hear back from a user you missed searching, it is worth it. |
stdenv: deprecate addCoverageInstrumentation adapter this used to be used in nixos/tests but it hasn't been used in nixpkgs for years stdenv: deprecate replaceMaintainersField adapter it was added in 2009 in 01e98e4 by nbp there are no uses of it in nixpkgs now stdenv: deprecate validateLicenses adapter it was added in 2009 in b29073a unfreePredicate is now handled in ./pkgs/stdenv/generic/check-meta.nix so this is unnecessary
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.
Looks good to me, the trace is what we did when we deprecated stdenv.lib
and that eased migration since we got pings from different projects that saw the message.
@siraben how was that trace done? |
Huh I thought there was more but I won't belabor it :). |
See commit msgs
Description of changes
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