-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
emacsPackages: fix build for a few hundred packages #343925
emacsPackages: fix build for a few hundred packages #343925
Conversation
…ails" This reverts commit 2421239. ignoreCompilationError defaults to false now.
It defaults to false now.
It defaults to false now.
It defaults to false now.
It defaults to false now.
- addPackageRequires - addPackageRequiresIfOlder - addPackageRequiresWhen - fixRequireHelmCore - ignoreCompilationError - ignoreCompilationErrorIfOlder - ignoreCompilationErrorWhen - mkHomeIfOlder - mkHomeWhen
…ationError at bytecompile time Previously, these two attributes were only respected at nativecompile time.
ce20c25
to
207d89c
Compare
# missing optional dependencies | ||
suggest = addPackageRequires super.suggest [ self.shut-up ]; | ||
|
||
symex = ignoreCompilationError super.symex; # elisp error |
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.
I reported a bug to the symex maintainer, but it turns out that they couldn't replicate it. We managed to fix it anyhow.
I'm not saying that this particular commit is problematic, I just needed something symex-specific to link to. My theory is that the underlying error--which this ignores--was recently fixed. If I'm right about this, then the next time we update these packages this error might no longer show up. 🤞
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.
My theory is that the underlying error--which this ignores--was recently fixed.
I do not think so. Many errors reported in drym-org/symex.el#130 are in the build log. Those errors are not specific to nix and should be fixed upstream.
Description of changes
This PR fixes almost all build failures introduced by #343388.
The only remaining build failure is
org-xlatex
, which fails for good reason:Error: error ("Your Emacs was not built with Xwidget support")
.It is better to review this PR one commit at a time.
Future work:
ignoreCompilationError
This PR is the final part of #335442. Closes #335442.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.