| 11 Mar 2025 |
alexfmpe | er, rather, bisected down to https://github.com/NixOS/nixpkgs/pull/356162 which fixes that issue | 13:42:12 |
alexfmpe | I guess there's some sysroot shenanigans I don't understand going on and having -nostdlibinc is messing with it? | 13:43:50 |
alexfmpe | hmm though... merely adding && !targetPlatform.isAndroid seems risky for non-nixos linux as /usr/include can leak there? | 13:49:30 |
Alyssa Ross | Redacted or Malformed Event | 13:52:46 |
| 13 Mar 2025 |
phanirithvij | nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.aarch64-multiplatform' -A tinc
nix-build '<nixpkgs>' -A pkgsCross.aarch64-multiplatform.tinc
any reason why lib.systems.examples, examples is there
| 05:51:13 |
phanirithvij | * nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.aarch64-multiplatform' -A tinc
nix-build '<nixpkgs>' -A pkgsCross.aarch64-multiplatform.tinc
any reason why lib.systems.examples, examples is there
| 05:51:19 |
phanirithvij | * nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.aarch64-multiplatform' -A tinc
nix-build '<nixpkgs>' -A pkgsCross.aarch64-multiplatform.tinc
any reason why lib.systems.examples, examples is there
| 05:51:37 |
Artturin | In reply to @phanirithvij:matrix.org
nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.aarch64-multiplatform' -A tinc
nix-build '<nixpkgs>' -A pkgsCross.aarch64-multiplatform.tinc
any reason why lib.systems.examples, examples is there
It's easier to refer to existing example platforms than to write all the attrs, some platforms have more than just config https://github.com/NixOS/nixpkgs/blob/master/lib/systems/examples.nix
pkgsCross sets are made from examples https://github.com/NixOS/nixpkgs/blob/b1f2198021490b51fb92b8b09db97b9ba2a7b4ce/pkgs/top-level/stage.nix#L197 | 05:55:54 |
| Ashwin Mathi joined the room. | 14:58:36 |
@rosssmyth:matrix.org | Would it be possible to add a new default/example pkgsCross system that is basically the same as arm-embedded but with newlib-nano? My goal would be to get that GCC cached so that I could use a newer GCC since it seems that latest gcc-arm-embedded update (14) PR was denied. | 18:55:20 |