icu: fix cross compilation#290761
Conversation
|
Oops sorry it looked reasonably close to the original passing of buildroot things… But now this version breaks some native overrides? |
oh, the ofborg output? weird, i would think that should work. maybe i need to use |
|
Firstly, apologies, @uninsane, for introducing a regression. |
|
I also took a quick look, but still a bit confused about why it's actually broken... |
|
I also noticed failures downstream in my workflows, see e.g. this GH actions run. I tested the rev from this PR in my repo and it fixed the issue too, but I haven't attempted to reproduce the issue reported in #290761 (comment). |
cc7119c to
ab094c1
Compare
|
i've updated this PR to fix the eval error, built top-level/all-packages.nix calls icu using icu-versions = callPackages ../development/libraries/icu { };and then inherits the icu-versions members into the top-level scope. |
kirillrdy
left a comment
There was a problem hiding this comment.
happy to merge as it is, since a few build issues have been reported, i've just added one small suggestion
ab094c1 to
dfdf0ce
Compare
|
at least this fixes @uninsane thank you for PR |
|
Thank you @uninsane and @kirillrdy for jumping on this and handling it so well, very much appreciated! 🙏 |
Description of changes
recent icu package refactoring caused
pkgsCross.aarch64-multiplatform.icuto fail withso lets refactor it further :) and expose the build roots via
passthruand thereby pass arguments in such a way that external users can use.overrideas if these were all ordinary packages.Things done
pkgsCross.aarch64-multiplatform.icu)nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-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.