!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

557 Members
119 Servers

Load older messages


SenderMessageTime
22 Sep 2021
@sternenseemann:systemli.orgsterniwe disabled gobject-introspection when cross-compiling usually09:18:14
@rick:matrix.ciphernetics.nlRick (Mindavi)
In reply to @sternenseemann:systemli.org
we disabled gobject-introspection when cross-compiling usually
Yes
09:30:31
@rick:matrix.ciphernetics.nlRick (Mindavi)It doesn't work, John is trying to get it to work but upstream is not a big fan of the patches09:30:52
@rick:matrix.ciphernetics.nlRick (Mindavi)See https://github.com/NixOS/nixpkgs/issues/72868 and https://github.com/NixOS/nixpkgs/pull/8822209:40:23
@colemickens:matrix.orgcolemickens 🏳️‍🌈I'd actually seen John's commits/prs in gobject-introspection. I'm trying to figure out if I did something unexpected or if I just lost track of what branch folks are cross-building from...20:20:11
@colemickens:matrix.orgcolemickens 🏳️‍🌈anyway, if someone has a nixpkgs-rev/config that works for x86->armv6l cross compiling, please let me know. <3 thanks21:39:08
@sternenseemann:systemli.orgsterniarmv6 is the non-raspberry pi armv6 one?23:37:59
23 Sep 2021
@mic92:nixos.devMic92
In reply to @qyliss:fairydust.space
I wonder if the wrapper should set -all-static when stdenv.hostPlatform.isStatic...
We also missed the opportunity to document that pkgsStatic exists. I recently had to explain it in discourse.
15:46:14
@mic92:nixos.devMic92I think we should be more picky with changes we merge w.r.t. documentation. Whenever there is a change in buildRustPackage or buildGoModule, I always insist on updating documentation.15:48:22
@sternenseemann:systemli.orgsternipkgsStatic is something entirely different15:50:19
@sternenseemann:systemli.orgsterniI think you have to trade off such features and experimentation against building up expectations about it15:51:00
@sternenseemann:systemli.orgsternisure, it should be documented in some capacity, agreed15:51:31
@sternenseemann:systemli.orgsterni cross compiled packages are the worst in nixpkgs in terms of regressions because they are not tested a lot and changes are rarely held back bc of breaking cross 15:53:15
@sternenseemann:systemli.orgsternibut honestly we are probably all just a bit lazy or busy with other things :)15:53:50
25 Sep 2021
@amesgen:amesgen.deamesgen joined the room.19:40:30
29 Sep 2021
@colemickens:matrix.orgcolemickens 🏳️‍🌈I am surprised that I was able to cross-compile spidermonkey for armv6l but not armv7l :/20:26:36
@rick:matrix.ciphernetics.nlRick (Mindavi)
In reply to @sternenseemann:systemli.org
but honestly we are probably all just a bit lazy or busy with other things :)
I'm trying to keep it a bit in shape, but sometimes take quite some time to fix
20:32:02
30 Sep 2021
@colemickens:matrix.orgcolemickens 🏳️‍🌈 John Ericson: 02:20:59
@colemickens:matrix.orgcolemickens 🏳️‍🌈 * John Ericson: do you think gobject stuff will ever cross compile 02:21:12
@colemickens:matrix.orgcolemickens 🏳️‍🌈(sorry for the misfire there)02:21:16
@Ericson2314:matrix.orgJohn Ericson colemickens 🏳️‍🌈: well one of my PRs finally got merged 02:21:28
@Ericson2314:matrix.orgJohn Ericsonwe could make it go today with more gunk even02:21:49
@Ericson2314:matrix.orgJohn Ericsonlike yocto does it02:22:04
@Ericson2314:matrix.orgJohn Ericsonthe gnome reputation about not givinga fuck about outsider's patches sadly seems pretty true though02:22:31
@Ericson2314:matrix.orgJohn Ericsonbut yeah could just take the second commit and do a patch02:23:00
@Ericson2314:matrix.orgJohn Ericsonthe whole thing is so shitty though02:23:13
@colemickens:matrix.orgcolemickens 🏳️‍🌈That's too bad, I certainly understanding wanting to do it in the right place, for more than one reason.02:23:19
@Ericson2314:matrix.orgJohn Ericsonit's fundamentally a terrible design02:23:22
@Ericson2314:matrix.orgJohn Ericsonand relying on binfmts as it does can go wrong, though hopefully not too bad02:23:43
@Ericson2314:matrix.orgJohn Ericson colemickens 🏳️‍🌈: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/224/diffs that is the second PR 02:27:19

There are no newer messages yet.


Back to Room ListRoom Version: 6