!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

564 Members
123 Servers

Load older messages


SenderMessageTime
4 Dec 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @k900:0upti.me
Try ssh-ng://builder@linux-builder?store=daemon
* Not store but remote-store
14:54:16
@k900:0upti.meK900Oh14:54:22
@k900:0upti.meK900Yeah14:54:23
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah store should be called storeDir or something. Very confusing14:54:45
@nicolas-goudry:matrix.orgNicolas GoudryBtw is there a reference of all available query-param-style options? Couldn't find one the other day14:55:30
@nicolas-goudry:matrix.orgNicolas GoudryWorks now, I’m hitting an OOM but that's something else, ty!14:55:53
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)https://nix.dev/manual/nix/2.32/store/types/experimental-ssh-store.html#settings14:56:17
@nicolas-goudry:matrix.orgNicolas GoudryNice! Thx a lot14:56:49
@jaafar:kde.orgJaafar joined the room.18:02:33
@jaafar:kde.orgJaafarCan I add a native compiler as well as one or more cross compilers to the same dev shell?19:49:16
@rosssmyth:matrix.orgrosssmythYes, it is pretty common to do so for build->build project artifacts 19:50:23
@rosssmyth:matrix.orgrosssmythFor multiple cross-compilers, I do not see anything particularly wrong but you'll have to be careful with your build system config to make sure it choose the correct compiler(s)19:51:25
@rosssmyth:matrix.orgrosssmyth* For multiple cross-compilers, I do not see anything particularly wrong but you'll have to be careful with your build system config to make sure it chooses the correct compiler(s)19:51:33
@rosssmyth:matrix.orgrosssmyth Generally a native compiler will be accessed via pkgsBuildBuild.stdenv.cc, which should be the same across all nixpkgs instances you make for each cross compiler 19:54:24
@matthewcroughan:defenestrate.itmatthewcroughan FAIL: tests/split/line-bytes.sh for coreutils on musl 22:54:16
@matthewcroughan:defenestrate.itmatthewcroughandamnit22:54:17
5 Dec 2025
@winston:winston.shwinston joined the room.16:04:07
6 Dec 2025
@matthewcroughan:defenestrate.itmatthewcroughanhercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2Fzgwfi5b3g9jz98l2dcgmyxmqwwixynh6-nghttp2-1.67.1.drv/log?via-job=fd45ac98-e62d-4090-9ae9-4161885e3a6e00:15:18
@matthewcroughan:defenestrate.itmatthewcroughanfor some reason this nghttp2 is failing in the case of native compilation?00:15:32
@matthewcroughan:defenestrate.itmatthewcroughan* for some reason this nghttp2 is failing in the case of native compilation with exec format error?00:15:36
@matthewcroughan:defenestrate.itmatthewcroughanany ideas?00:15:42
@matthewcroughan:defenestrate.itmatthewcroughanmusl-llvm native00:15:58
@matthewcroughan:defenestrate.itmatthewcroughan* musl-llvm + native00:16:04
@matthewcroughan:defenestrate.itmatthewcroughan* musl + llvm native00:16:08
@artturin:matrix.orgArtturin
In reply to @matthewcroughan:defenestrate.it
hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2Fzgwfi5b3g9jz98l2dcgmyxmqwwixynh6-nghttp2-1.67.1.drv/log?via-job=fd45ac98-e62d-4090-9ae9-4161885e3a6e
./configure is likely a script, check it's shebang
00:52:44
@matthewcroughan:defenestrate.itmatthewcroughanBut why would it work in all other cases than llvm native?00:54:21
@matthewcroughan:defenestrate.itmatthewcroughan why would pkgsLLVM.stdenv not work whilst stdenv would? 00:54:56
@artturin:matrix.orgArtturin
In reply to @matthewcroughan:defenestrate.it
But why would it work in all other cases than llvm native?
Dunno, that's what were attempting to troubleshoot
00:57:59
@artturin:matrix.orgArtturin* Dunno, that's what we're attempting to troubleshoot00:58:11
@artturin:matrix.orgArtturinCopy the path in the shebang and try to run it out of the build00:58:48

Show newer messages


Back to Room ListRoom Version: 6