17 Sep 2024 |
sterni | In reply to @kjeremy:matrix.org splicing is so awful yes, it was a hack to allow for cross without changing existing code, originally, not even the original author(s) liked it. Unfortunately, getting rid of it is very hard. | 10:47:26 |
| tomcruz joined the room. | 14:14:16 |
| lassulus changed their profile picture. | 14:38:13 |
18 Sep 2024 |
anstylian | I remember once some show me a command line in nix, that you could run binaries of other architectures using the binfmt feature of Linux kernel, can you help me find that command? | 09:58:39 |
anstylian | ok, I think I found it: nix build nixpkgs#pkgsCross.wasi32.ripgrep | 10:01:40 |
ToxicFrog | That's for cross-compiling the wasi32 build of ripgrep, doesn't mean you'll be able to run it afterwards but do report back | 11:14:04 |
ToxicFrog | I suspect you are actually looking for the boot.binfmt option tree | 11:14:31 |
19 Sep 2024 |
| @memegames99:matrix.org joined the room. | 01:51:59 |
| @memegames99:matrix.org set a profile picture. | 02:02:29 |
ˈt͡sɛːzaɐ̯ | anstylian: Cross-compiling rust packages to wasi is broken, I've got a PR for that, but it's unlikely to be merged. (You can play with build github:NixOS/nixpkgs/pull/323161/merge#pkgsCross.wasi32.rusti-cal if you want). | 02:49:04 |
ˈt͡sɛːzaɐ̯ | Also, that's cross compiling, not compiling with binfmt, wich is really native compiling with an interpreter/emulator. | 02:49:49 |
ˈt͡sɛːzaɐ̯ | And if you want that binfmt interpretation, you need to set https://search.nixos.org/options?channel=unstable&show=boot.binfmt.registrations&from=0&size=50&sort=relevance&type=packages&query=binfmt. Then you can run stuff from pkgsCross, but also from nixpkgs#legacyPackages.aarch64-linux.… . | 02:50:51 |
ˈt͡sɛːzaɐ̯ | * anstylian: Cross-compiling rust packages to wasi is broken, I've got a PR for that, but it's unlikely to be merged. (You can play with build github:NixOS/nixpkgs/pull/323161/head#pkgsCross.wasi32.rusti-cal if you want). | 02:51:56 |
ˈt͡sɛːzaɐ̯ | (Also, lots of wasi stuff won't work, because pkgsCross.wasi32 uses wasip1 without threads.) | 02:52:43 |
21 Sep 2024 |
Jared Baur | Fix for libspng: https://github.com/NixOS/nixpkgs/pull/343426 | 05:22:56 |
Jared Baur | ~Fix for libspng: https://github.com/NixOS/nixpkgs/pull/343426~
wait, not fixed yet | 05:27:59 |
Jared Baur | Fix for libspng: https://github.com/NixOS/nixpkgs/pull/343426 | 05:29:48 |
23 Sep 2024 |
| elikoga joined the room. | 15:29:50 |
24 Sep 2024 |
kjeremy | Artturin: did your removal of with libs from splicing help? | 17:09:00 |
Artturin | In reply to @kjeremy:matrix.org Artturin: did your removal of with libs from splicing help? I dunno, I'll try a different way of evalling cross pkgs https://github.com/NixOS/nixpkgs/pull/341067/commits/f5a55270cad669d9d80d98894f56082f714c884f with the heavy python override removed https://github.com/NixOS/nixpkgs/pull/341067/commits/5a77603c4ce0a57ff57bde3363b79414bfb27fc7 | 20:08:55 |
kjeremy | It probably won't be meaningful until the Python bits are fixed | 20:10:10 |
25 Sep 2024 |
Artturin | Eval fail | 16:50:43 |
Artturin | https://github.com/NixOS/nixpkgs/pull/344476 | 16:50:44 |
Artturin | In reply to @artturin:matrix.org I dunno, I'll try a different way of evalling cross pkgs https://github.com/NixOS/nixpkgs/pull/341067/commits/f5a55270cad669d9d80d98894f56082f714c884f with the heavy python override removed https://github.com/NixOS/nixpkgs/pull/341067/commits/5a77603c4ce0a57ff57bde3363b79414bfb27fc7 Currently fixing all the cross eval fails https://github.com/NixOS/nixpkgs/pull/344499 https://github.com/NixOS/nixpkgs/pull/344516 | 21:18:44 |
Tristan Ross | In reply to @artturin:matrix.org Currently fixing all the cross eval fails https://github.com/NixOS/nixpkgs/pull/344499 https://github.com/NixOS/nixpkgs/pull/344516 Nice, we need better cross. | 22:03:05 |
Artturin | https://github.com/NixOS/nixpkgs/pull/344516 | 22:09:24 |
26 Sep 2024 |
| Fabián Heredia set a profile picture. | 01:16:03 |
kjeremy | Artturin: Did your splicing change expose these already existing errors or did your change cause the breakage? | 13:47:27 |
Artturin | In reply to @kjeremy:matrix.org Artturin: Did your splicing change expose these already existing errors or did your change cause the breakage? Existing | 13:47:41 |
Artturin | Ofborg evalling the cross set, not the splicing change | 13:48:04 |