!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

572 Members
125 Servers

Load older messages


SenderMessageTime
7 Jun 2025
@misuzu:matrix.orgmisuzu joined the room.06:57:17
@deeok:matrix.org@deeok:matrix.org changed their display name from deeok to matrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms).23:21:56
@deeok:matrix.org@deeok:matrix.org left the room.23:33:35
8 Jun 2025
@liemlb:matrix.orglb liem joined the room.03:49:42
9 Jun 2025
@sigmasquadron:matrix.orgSigmaSquadron joined the room.13:04:48
10 Jun 2025
@niclas:overby.meNiclas Overby Ⓝ joined the room.13:43:03
@niclasoverby:beeper.com@niclasoverby:beeper.com left the room.14:49:56
@phanirithvij:matrix.orgloudgolem

does electron/chrome cross compile on nixpkgs? eg. electron-unwrapped-aarch64-unknown-linux-gnu-35.5.1

I get this warning many times

pkgs/build-support/cc-wrapper/add-clang-cc-cflags-before.sh
30:    echo "Warning: supplying the --target $targetValue != @defaultTarget@ argument to a nix-wrapped compiler may not work correctly - cc-wrapper is currently not designed with multi-target compilers in mind. You may want to use an un-wrapped compiler instead." >&2
16:29:36
@k900:0upti.meK900 I doubt 16:30:08
@k900:0upti.meK900 But that warning is also expected 16:30:11
@niclas:overby.meNiclas Overby Ⓝ changed their display name from Niclas Overby to Niclas Overby Ⓝ.16:32:30
@bivsk22:matrix.orgfour joined the room.17:06:03
11 Jun 2025
@astodialo:matrix.orgelamon joined the room.15:13:13
12 Jun 2025
@emilazy:matrix.orgemily gah: nixpkgs.* settings use .__splicedPackages 22:04:42
@emilazy:matrix.orgemily but nixpkgs.nixosModules.readOnlyPkgs doesn't 22:05:01
@emilazy:matrix.orgemily

so

          {
            imports = [ nixpkgs.nixosModules.readOnlyPkgs ];
            nixpkgs.pkgs = nixpkgsFun {
              localSystem = "x86_64-linux";
              crossSystem = nixpkgs.lib.recursiveUpdate (nixpkgs.lib.systems.elaborate "aarch64-linux") {
                linux-kernel.target = "vmlinuz.efi";
                linux-kernel.installTarget = "zinstall";
              };
            };
          }

is broken

22:05:09
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/pull/41627622:37:18
14 Jun 2025
@thesupergamer20578:matrix.orgTheSuperGamer20578 joined the room.01:24:29
@hcbt:matrix.orghcbt joined the room.03:58:54
@honnip:matrix.orgHonnip left the room.14:09:36
@honnip:matrix.orgHonnip joined the room.14:10:00
15 Jun 2025
@rhelmot:matrix.orgrhelmot has anyone tried cross building openblas recently? I'm running into an issue where gfortran is not looking for the right ld - it wants the non-prefixed version 16:38:18
@rhelmot:matrix.orgrhelmotI am 150-some commits deep into a dev branch tho so maybe this is nothing16:38:34
@rhelmot:matrix.orgrhelmotsigh. this seems to be freebsd specific, as pkgsCross.aarch64-multiplatform.openblas builds fine even on my dev branch17:58:46
@rhelmot:matrix.orgrhelmotmany such cases17:58:48
@t4ccer:matrix.orgt4ccer left the room.19:07:04
@t4ccer:matrix.orgt4ccer joined the room.19:46:15
@genericnerdyusername:matrix.orgGenericNerdyUsername trying to use crossPackages.riscv32-embedded.buildPackage.gcc and while it does produce binanries, it ignore my -march=rv32i arg, generating a binary with compressed instructions in it 22:48:46
@genericnerdyusername:matrix.orgGenericNerdyUsernamei have a reproducible setup, but its definitely not minimal22:49:08
@genericnerdyusername:matrix.orgGenericNerdyUsernamedoes work with the 25.05 tag22:52:03

Show newer messages


Back to Room ListRoom Version: 6