!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

576 Members
128 Servers

Load older messages


SenderMessageTime
10 Jan 2025
@k900:0upti.meK900Complicated16:04:17
@greg:thehellings.comGreg HellingsThe more native it stays, the less someone who builds with it needs to ship to users16:04:26
@emilazy:matrix.orgemilyindeed16:04:35
@emilazy:matrix.orgemily I think libffi = darwin.libffi is right 16:04:40
@emilazy:matrix.orgemily because upstream libffi just did not take some aarch64-darwin stuff 16:04:49
@emilazy:matrix.orgemilyand packages expect it16:04:53
@emilazy:matrix.orgemilybut for ICU I'm not so sure16:04:56
@emilazy:matrix.orgemilybigger API surface, more version-to-version variation, less required by most stuff16:05:10
@emilazy:matrix.orgemilynot true, we build Apple's ICU from source16:05:32
@emilazy:matrix.orgemily so it's still /nix/store 16:05:35
@greg:thehellings.comGreg HellingsAh. So much for that savings16:06:09
@reckenrode:matrix.orgRandy EckenrodeDarwin ICU as default also fixes some Bun issues with npm.16:10:59
@greg:thehellings.comGreg HellingsRIP my home computers while I build all of the packages that depend on ICfu16:13:50
@greg:thehellings.comGreg HellingsWell that was a fat finger typo, but lol16:14:05
@k900:0upti.meK900Yeah don't even try that16:14:13
@greg:thehellings.comGreg HellingsToo late, I'm 9 minutes into the build16:14:25
@greg:thehellings.comGreg Hellings100,000 to go16:14:30
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
if ICU version is going to drift from what Apple tracks we should maybe reconsider coupling darwin.ICU to it. cc Randy Eckenrode
I assume Apple will update to ICU76 for the next major release. I don’t know whether they do updates mid-cycle or not. It’s at least not like before where we were way behind what Apple ships. We’re only a month or so behind due to source release delays.
16:27:56
@emilazy:matrix.orgemilyyeah16:29:35
@emilazy:matrix.orgemilyI'm okay sticking with this for now16:29:39
@emilazy:matrix.orgemilybut if we run into packages needing special handling on Darwin or breaking because of the ICU version drift I think we should consider flipping back16:29:55
@emilazy:matrix.orgemily you can expect to wait probably over a week for this fwiw. we have staging for a reason 16:30:19
@greg:thehellings.comGreg HellingsHere's the PR: https://github.com/NixOS/nixpkgs/pull/37269216:31:34
@emilazy:matrix.orgemily what may be a better idea is to build a selection of packages that directly depend on icu 16:36:31
@emilazy:matrix.orgemily for that you will want to make sure your PR's base is the merge-base of master and staging 16:36:35
@emilazy:matrix.orgemily to avoid rebuilding for other staging changes 16:36:39
@emilazy:matrix.orgemilyoh my god why do we have that many ICU versions? we should kill most of those off16:37:16
@greg:thehellings.comGreg Hellings

So in my branch do something like:

git checkou upstream/master
git merge upstream/staging
<apply change>

?

16:39:05
@emilazy:matrix.orgemily no, rebase on top of $(git merge-base upstream/master upstream/staging) 16:39:22
@emilazy:matrix.orgemily CONTRIBUTING.md has an example, I forget the exact incantation because with Jujutsu it's just jj rebase -d fork_point(master, staging)'` :p 16:39:42

Show newer messages


Back to Room ListRoom Version: 6