!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

426 Members
96 Servers

Load older messages


SenderMessageTime
21 Dec 2024
@dimitarnestorov:matrix.orgDimitar joined the room.19:47:21
23 Dec 2024
@fgrsnau:matrix.orgStefan changed their display name from fgrsnau to Stefan.23:41:15
24 Dec 2024
@xin:xiny.lixinHi everyone! I encountered this issue today: https://github.com/NixOS/nixpkgs/issues/305858. I also tried ruby.withPackages and got the same result. I'm trying to understand the reason behind this and potentially fix it. Could anyone point me in the right direction or suggest where I should start looking?04:36:42
@xin:xiny.lixin Oh, I guess I should use python3.pythonOnBuildForHost for this purpose? 05:22:49
@xin:xiny.lixinI found that several packages are still using python3.withPackages under nativeBuildInputs. Maybe we should do a treewide fix?10:22:40
25 Dec 2024
@genericnerdyusername:matrix.orgGenericNerdyUsernameHow could I get myself a riscv32-unknown-elf gcc?21:50:16
@genericnerdyusername:matrix.orgGenericNerdyUsernamenixpkgs doesnt like it as a crossPlatform21:50:37
@genericnerdyusername:matrix.orgGenericNerdyUsernameto clarify, it should run on x86_64-linux, but produce binaries for riscv22:19:29
@kuruczgy:matrix.orgkuruczgy riscv32-none-elf works for me, not sure how "unknown" is different from "none" (if this is something bare metal then none should be correct) 23:14:07
@genericnerdyusername:matrix.orgGenericNerdyUsername
In reply to @kuruczgy:matrix.org
riscv32-none-elf works for me, not sure how "unknown" is different from "none" (if this is something bare metal then none should be correct)
a different program im using expects unknown :/
23:15:11
@kuruczgy:matrix.orgkuruczgy (Also it's crossSystem not crossPlatform, but hopefully that's just a typo in your message and not your code.) 23:15:13
@kuruczgy:matrix.orgkuruczgy I assume you are getting "error: Unknown kernel: unknown" when you try riscv32-unknown-elf. riscv32-unknown-none-elf does seem to work. What does this "different program" depend on exactly? Expecting crossPlatform to be a particular string sounds quite strange 23:21:48
@genericnerdyusername:matrix.orgGenericNerdyUsernameim trying to get riscof to work, and it asks for a specific gcc toolchain23:22:41
@genericnerdyusername:matrix.orgGenericNerdyUsernamei could replace all uses of unknown with none, but im already out of my depth, i dont want to add more points of failure23:23:08
@kuruczgy:matrix.orgkuruczgy Ah I see, it hardcodes the riscv32-unknown-elf prefix everywhere. Nixpkgs will always include the kernel name in the prefix, so you cannot have it without none: https://github.com/NixOS/nixpkgs/blob/444c1e08d4fc93dd5a53ff052397d2d2b26dfe7a/lib/systems/parse.nix#L542 23:38:29
@kuruczgy:matrix.orgkuruczgy You probably want to define some aliases somehow. (Or just search&replace in the whole source in patchPhase -unknown-elf with -unknown-none-elf 23:39:31
@kuruczgy:matrix.orgkuruczgy * You probably want to define some aliases somehow. (Or just search&replace in the whole source in something like patchPhase -unknown-elf with -unknown-none-elf) 23:39:52
26 Dec 2024
@10leej:matrix.org@10leej:matrix.org joined the room.01:41:00
@10leej:matrix.org@10leej:matrix.org left the room.01:41:51
@elikoga:matrix.orgelikoga (@38c3 📞488{0,1}) changed their display name from elikoga to elikoga (@38c3 📞448{0,1}.15:21:53
@elikoga:matrix.orgelikoga (@38c3 📞488{0,1}) changed their display name from elikoga (@38c3 📞448{0,1} to elikoga (@38c3 📞448{0,1}).15:26:06
@elikoga:matrix.orgelikoga (@38c3 📞488{0,1}) changed their display name from elikoga (@38c3 📞448{0,1}) to elikoga (@38c3 📞488{0,1}).15:26:48
27 Dec 2024
@rhelmot:matrix.orgrhelmotI opened https://github.com/rust-lang/rust/issues/134811 against rustc while trying to debug https://github.com/NixOS/nixpkgs/pull/356769 if anyone here wants to save the rust people some pain00:53:53
@raitobezarius:matrix.orgraitobezarius (DECT: 3538 / EPVPN 2681) changed their display name from raitobezarius to raitobezarius (DECT: 3538 / EPVPN 2681).07:32:31
@dimitarnestorov:matrix.orgDimitar set a profile picture.11:41:03
@dimitarnestorov:matrix.orgDimitar changed their display name from dimitarnestorov to Dimitar.11:42:12
@asbjorn:olli.ngA2 (☎️ 61777) changed their display name from A2 to A2 (☎️ 61777).15:25:27

There are no newer messages yet.


Back to Room ListRoom Version: 6