-
-
Notifications
You must be signed in to change notification settings - Fork 15.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
perl536Packages: cross fixes #225086
Closed
Closed
perl536Packages: cross fixes #225086
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
1e5e07f
perl536Packages.AlienBuild: fix cross compilation
apfelkuchen6 94c7f43
perl536Packages.AlienLibxml2: fix cross compilation
apfelkuchen6 d920960
perl536Packages.BHooksEndOfScope: fix cross compilation
apfelkuchen6 07a1e66
perl536Packages.DateTimeLocale: fix cross compilation
apfelkuchen6 f47c6ed
perl536Packages.ExtUtilsLibBuilder: fix cross compilation
apfelkuchen6 c79370f
perl536Packages.FileShareDir: fix cross compilation
apfelkuchen6 ed7992f
perl536Packages.LinguaTranslit: fix cross compilation
apfelkuchen6 ce5532a
perl536Packages.ListMoreUtils: fix cross compilation
apfelkuchen6 3d771c6
perl536Packages.ListMoreUtilsXS: fix cross compilation
apfelkuchen6 9079c8d
perl536Packages.ListSomeUtils: fix cross compilation
apfelkuchen6 91bd17f
perl536Packages.ListUtilsBy: fix cross compilation
apfelkuchen6 ec2d9a1
perl536Packages.MIMECharset: fix cross compilation
apfelkuchen6 c4f36de
perl536Packages.ModuleBuild: fix cross compilation
apfelkuchen6 6f6e71c
perl536Packages.ModuleBuildTiny: fix cross compilation
apfelkuchen6 7b56eb9
perl536Packages.ModuleRuntime: fix cross compilation
apfelkuchen6 e734bc2
perl536Packages.TextCSV: fix cross compilation
apfelkuchen6 bdc3e59
perl536Packages.Testutf8: fix cross compilation
apfelkuchen6 283a2e6
perl536Packages.XMLLibXML: fix cross compilation
apfelkuchen6 716c4f9
perl536Packages.XMLLibXSLT: fix cross compilation
apfelkuchen6 ce6f7db
perl536Packages.XMLSAX: fix cross compilation
apfelkuchen6 ca3f8ba
perl536Packages.NetSSLeay: fix cross compilation
apfelkuchen6 2df1589
perl536Packages.PackageStash: fix cross compilation
apfelkuchen6 4bb10a7
perl536Packages.ParamsValidate: fix cross compilation
apfelkuchen6 791ad3a
perl536Packages.ParseRecDescent: fix cross compilation
apfelkuchen6 85ae63e
perl536Packages.Readonly: fix cross compilation
apfelkuchen6 154eb59
perl536Packages.TestLeakTrace: fix cross compilation
apfelkuchen6 b4f132a
perl536Packages.TextBibTeX: fix cross compilation
apfelkuchen6 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We should provide a comment to this hack and the assignment (which is an implicit override of perl.mini) should only be done for cross-compilation (to document the intention).
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 thought process behind not guarding was "a full perl is also required for native builds, so this is just more explicit". On the other hand, guarding this with
/nix/store/av8clvjy4d91ybmsc92lgaxnvlif4g6l-perl5.36.0-Alien-Build-2.37-i686-unknown-linux-gnu.drv
also has the additional benefit that it doesn't change the evaluation for native builds, (hopefully) cutting down the number of rebuilds significantly. Will update.Adding a simple comment like "when cross-compiling,
buildPerlPackage
only appendsperl.mini
to nativeBuildInputs, but this build needs a full perl" to each of these lines should be enough, right?edit: the wording from your PR #222427 ("Override default intepreter perl.mini") is better