5 Jun 2025 |
| SkamDart joined the room. | 08:03:21 |
Grimmauld (any/all) | I wanted to build https://github.com/NixOS/nixpkgs/pull/414169 on android cross because upstream did some android changes and figured i might as well try. However: both elfutils and stdenv is completely broken and does not build | 08:43:59 |
Grimmauld (any/all) | (llvmPackages.compiler-rt is what is broken in the stdenv) | 08:45:17 |
alexfmpe | FWIW pkgsCross.aarch64-android-prebuilt is in much better shape | 11:01:13 |
Tristan Ross | Does https://github.com/NixOS/nixpkgs/pull/409265 fix the issue? | 15:52:28 |
Tristan Ross | Or is it this? https://github.com/NixOS/nixpkgs/issues/380604 | 15:53:04 |
6 Jun 2025 |
| @creepinson:matrix.org left the room. | 00:18:39 |
| xenia joined the room. | 03:08:39 |
xenia | is it possible to build a cross toolchain for rust and llvm for bare metal thumbv8m.main-none-eabihf (ie raspberry pi pico 2) within nixpkgs from source i patched lib/systems/parse.nix to allow "thumbv8m.main" as a cpu and i'm trying
crossSystem = {
config = "thumbv8m.main-none-eabihf";
libc = "newlib";
useLLVM = true;
rust.rustcTarget = "thumbv8m.main-none-eabihf";
};
and then attempting to build buildPackages.rustc and i'm immediately running into errors building compiler-rt
i can post logs/a complete example but like my first question is whether this is a path worth following at all? has anyone ever done something like this? | 03:15:45 |
K900 | Doubt it, you'll need some weird stdenv | 06:30:40 |
K900 | And newlib probably isn't it | 06:30:44 |
Tristan Ross | The compiler-rt errors are likely the ones everyone else is having with other things. Though, I can't try it unless I know what was changed with lib/systems/parse.nix | 16:08:41 |
Tristan Ross | It's possible compiler-rt could support thumbv8m, not entirely sure | 16:10:31 |
7 Jun 2025 |
| misuzu joined the room. | 06:57:17 |
| @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 left the room. | 23:33:35 |
8 Jun 2025 |
| lb liem joined the room. | 03:49:42 |
9 Jun 2025 |
| SigmaSquadron joined the room. | 13:04:48 |
10 Jun 2025 |
| Niclas Overby Ⓝ joined the room. | 13:43:03 |
| @niclasoverby:beeper.com left the room. | 14:49:56 |
loudgolem | 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 | I doubt | 16:30:08 |
K900 | But that warning is also expected | 16:30:11 |
| Niclas Overby Ⓝ changed their display name from Niclas Overby to Niclas Overby Ⓝ. | 16:32:30 |
| four joined the room. | 17:06:03 |
11 Jun 2025 |
| elamon joined the room. | 15:13:13 |
12 Jun 2025 |
emily | gah: nixpkgs.* settings use .__splicedPackages | 22:04:42 |
emily | but nixpkgs.nixosModules.readOnlyPkgs doesn't | 22:05:01 |
emily | 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 |
emily | https://github.com/NixOS/nixpkgs/pull/416276 | 22:37:18 |