-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
cacert: use buildcatrust build with python3Minimal #176291
Conversation
to avoid inifinite recursion with mailcap Co-authored-by: Artturi <Artturin@artturin.com>
and prevent future inf rec issues
Successfully created backport PR #176646 for |
This PR, NixOS#176291, started building `cacert` with `python3Minimal` to work around an infinite recursion problem with the `mailcap` build. This causes problems now because `buildcatrust` requires the `_scproxy` module and that's not built for `python3Minimal` on Darwin. This causes many transitive failures. Simply building `cacert` with `python3` seems to work fine. The `mailcap` expression has since been altered and this infinite recursion issue doesn't reappear.
This PR, #176291, started building `cacert` with `python3Minimal` to work around an infinite recursion problem with the `mailcap` build. This causes problems now because `buildcatrust` requires the `_scproxy` module and that's not built for `python3Minimal` on Darwin. This causes many transitive failures. Simply building `cacert` with `python3` seems to work fine. The `mailcap` expression has since been altered and this infinite recursion issue doesn't reappear. (cherry picked from commit 1e1539c) (effectively a revert of 526a0b8)
Thank you for rewriting this so it no longer overrides fetcher phases. I wish it was not allowed to write them that way in the first place.... |
I fixed that in #173430 |
Oh, I see. I was actually wishing that FODs didn't allow any of the phases to be overridden at all. When mantainers can do that it is way too easy for them to accidentally hardwire the current I haven't yet seen a case where moving the code from |
to avoid inifinite recursion with mailcap
Co-authored-by: Artturi Artturin@artturin.com
Closes #176286
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