| 3 Jan 2025 |
lzcunt | I prefer to fetch all branches but manually fast forward (or rebase) them | 17:56:34 |
emily | (jj rebase -d '::staging & ::master', jj git fetch 😎) | 17:56:35 |
lzcunt | * I prefer to fetch all branches with git fetch upstream but manually fast forward (or rebase) them | 17:56:45 |
lzcunt | https://github.com/NixOS/nixpkgs/pull/370683 patch is sent! | 18:02:37 |
lzcunt | do you mind explaining what exactly the python patch does | 18:12:49 |
lzcunt | * do you mind explaining what exactly the python patch does? for commit message purposes | 18:13:05 |
lzcunt | is inputs' unused here? | 18:31:54 |
Artturin | 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 |
Tristan Ross | Trying to cross compile my Nix flake to RISC-V | 17:40:54 |
Tristan Ross | Discovered lua-language-server does not like cross | 17:41:02 |
Tristan 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 | Likely using the wrong ld or something | 21:23:39 |
Artturin | or that bootstrap binary is built for target | 21:24:05 |
Artturin | * or that bootstrap binary is built for host | 21:24:06 |
Tristan Ross | Considering how lua-language-server is packaged, I wouldn't be surprised if something is messed up | 21:24:16 |
Tristan Ross | I kinda gave up for now | 21:24:29 |
Tristan 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 |
Tristan Ross | It seems you have to compile luabuild then use luabuild to build lua-language-server | 21:26:33 |
Artturin | buildPackages.stdenv.cc.targetPrefix | 21:26:57 |
Artturin | Like we add buildPackages.stdenv.cc to depsBuildBuild if something is built for build | 21:27:25 |
Tristan Ross | Oh | 21:27:36 |
Tristan Ross | How do I set the NIX_LDFLAGS for the build packages CC? | 21:33:54 |
Artturin | NIX_LDFLAGS_FOR_BUILD, the code has NIX_LDFLAGS${role_post} but it's not used anywhere in nix code | 21:35:41 |
Artturin | * NIX_LDFLAGS_FOR_BUILD, the bash code has NIX_LDFLAGS${role_post} but it's not used anywhere in nix code | 21:35:52 |
Tristan Ross | Oh | 21:36:02 |
Artturin | * 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 |
Tristan Ross | Seems like it might be working | 21:37:44 |
Artturin | * 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 |
Tristan 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 |
Tristan Ross | It's making progress | 21:39:23 |