!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

564 Members
118 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
4 Dec 2025
@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.org@rosssmyth:matrix.orgYes, it is pretty common to do so for build->build project artifacts 19:50:23
@rosssmyth:matrix.org@rosssmyth:matrix.orgFor 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.org@rosssmyth:matrix.org* 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.org@rosssmyth:matrix.org 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

Show newer messages


Back to Room ListRoom Version: 6