!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
128 Servers

Load older messages


SenderMessageTime
3 Jan 2025
@artturin:matrix.orgArtturin gitup . from git-repo-updater pulls all branches 17:55:14
@sananatheskenana:matrix.orglzcuntI prefer to fetch all branches but manually fast forward (or rebase) them17:56:34
@emilazy:matrix.orgemily (jj rebase -d '::staging & ::master', jj git fetch 😎) 17:56:35
@sananatheskenana:matrix.orglzcunt * I prefer to fetch all branches with git fetch upstream but manually fast forward (or rebase) them 17:56:45
@sananatheskenana:matrix.orglzcunthttps://github.com/NixOS/nixpkgs/pull/370683 patch is sent!18:02:37
@sananatheskenana:matrix.orglzcuntdo you mind explaining what exactly the python patch does18:12:49
@sananatheskenana:matrix.orglzcunt* do you mind explaining what exactly the python patch does? for commit message purposes18:13:05
@sananatheskenana:matrix.orglzcuntis inputs' unused here?18:31:54
@artturin:matrix.orgArtturin
In reply to @sananatheskenana:matrix.org
do you mind explaining what exactly the python patch does? for commit message purposes
See the commit message of https://github.com/NixOS/nixpkgs/commit/007088359e7a0b438f42387cb59c0479ba81df83
19:00:58
4 Jan 2025
@rosscomputerguy:matrix.orgTristan RossTrying to cross compile my Nix flake to RISC-V17:40:54
@rosscomputerguy:matrix.orgTristan Ross Discovered lua-language-server does not like cross 17:41:02
@rosscomputerguy:matrix.orgTristan Ross
lua-language-server> [35/37] Run test.
lua-language-server> build/linux/bin/bootstrap: line 1: ]
                                                         �: not found
lua-language-server> build/linux/bin/bootstrap: line 1: ELF�: not found
lua-language-server> build/linux/bin/bootstrap: line 2: s$: not found
lua-language-server> build/linux/bin/bootstrap: line 3: ���: not found
lua-language-server> build/linux/bin/bootstrap: line 0: : not found
lua-language-server> build/linux/bin/bootstrap: line 4: �
                                                         7: not found
lua-language-server> build/linux/bin/bootstrap: line 5: syntax error: unexpected word (expecting ")")
lua-language-server> build/linux/bin/bootstrap: line 1: @È‘@8
                                                            @@@@h���ttpC�j����0�0�0�����X[XkX: not found
lua-language-server> FAILED: build/linux/obj/test.stamp
lua-language-server> build/linux/bin/bootstrap bee.lua/test/test.lua --touch build/linux/obj/test.stamp
lua-language-server> [37/37] Copy build/linux/bin/bootstrap luamake
lua-language-server> ninja: build stopped: subcommand failed.

This is cursed

17:56:30
@artturin:matrix.orgArtturin Likely using the wrong ld or something 21:23:39
@artturin:matrix.orgArtturinor that bootstrap binary is built for target21:24:05
@artturin:matrix.orgArtturin * or that bootstrap binary is built for host21:24:06
@rosscomputerguy:matrix.orgTristan RossConsidering how lua-language-server is packaged, I wouldn't be surprised if something is messed up21:24:16
@rosscomputerguy:matrix.orgTristan RossI kinda gave up for now21:24:29
@rosscomputerguy:matrix.orgTristan Ross Need to find a way to get targetPrefix for the CC that can actually execute natively on the builder and not the target 21:25:48
@rosscomputerguy:matrix.orgTristan RossIt seems you have to compile luabuild then use luabuild to build lua-language-server21:26:33
@artturin:matrix.orgArtturin buildPackages.stdenv.cc.targetPrefix 21:26:57
@artturin:matrix.orgArtturin Like we add buildPackages.stdenv.cc to depsBuildBuild if something is built for build 21:27:25
@rosscomputerguy:matrix.orgTristan RossOh21:27:36
@rosscomputerguy:matrix.orgTristan Ross How do I set the NIX_LDFLAGS for the build packages CC? 21:33:54
@artturin:matrix.orgArtturin NIX_LDFLAGS_FOR_BUILD, the code has NIX_LDFLAGS${role_post} but it's not used anywhere in nix code 21:35:41
@artturin:matrix.orgArtturin * NIX_LDFLAGS_FOR_BUILD, the bash code has NIX_LDFLAGS${role_post} but it's not used anywhere in nix code 21:35:52
@rosscomputerguy:matrix.orgTristan RossOh21:36:02
@artturin:matrix.orgArtturin * NIX_LDFLAGS_FOR_BUILD, the bash code has NIX_LDFLAGS${role_post}/@suffixSalt@ but it's not used anywhere in nix code 21:36:53
@rosscomputerguy:matrix.orgTristan RossSeems like it might be working21:37:44
@artturin:matrix.orgArtturin * NIX_LDFLAGS_FOR_BUILD, the bash code has NIX_LDFLAGS${role_post}/@suffixSalt@ but it's not used anywhere in nix code weirdly 21:37:45
@rosscomputerguy:matrix.orgTristan Ross
lua-language-server> 测试[basic]...
lua-language-server> 测试[basic]用时[0.001]
lua-language-server> 测试[definition]...
lua-language-server> 测试[definition]用时[0.366]
lua-language-server> 测试[type_inference]...
lua-language-server> 测试[type_inference]用时[1.238]
lua-language-server> 测试[implementation]...
lua-language-server> 测试[implementation]用时[0.032]
lua-language-server> 测试[references]...
lua-language-server> 测试[references]用时[0.089]
lua-language-server> 测试[hover]...
lua-language-server> 测试[hover]用时[0.567]
lua-language-server> 测试[completion]...
lua-language-server> 测试[completion]用时[1.576]
lua-language-server> 测试[diagnostics]..

Huh

21:39:17

Show newer messages


Back to Room ListRoom Version: 6