| 3 Sep 2023 |
@rick:matrix.ciphernetics.nl | It's theoretically meant as a set of examples | 07:05:36 |
@trofi:matrix.org | Would be nice to clean it up and all at least all nixpkgs targets as is (instead of examples that sometimes match and sometimes don't). | 07:48:19 |
@rick:matrix.ciphernetics.nl | There were also voices that said they wanted to get rid of it | 11:18:48 |
raitobezarius | I still think getting rid of it is faster | 11:28:17 |
artemis | pkgsCross is like the only reason i use nix haha | 11:40:58 |
raitobezarius | Well, the good news is you will still be able to use it :) | 11:41:43 |
artemis | what does getting rid of it entail then, moving it out of the nixpkgs tree? | 11:42:03 |
raitobezarius | No | 12:08:59 |
raitobezarius | pkgsCross is just convenience for | 12:09:08 |
raitobezarius | nix-build -A something --argstr crossSystem "a system config" | 12:09:35 |
raitobezarius | It is an arbitrary limitation of the full power of the cross compilation infra | 12:09:55 |
raitobezarius | And is useful to refer to cross compiled package internally to nixpkgs via the available examples | 12:10:16 |
problems | alright i'm back on the case | 17:02:06 |
problems | getting firefox to build for ppc64le-musl | 17:02:19 |
problems | with obnoxiously cryptic errors | 17:02:36 |
problems | does anyone want to try their hand? i pushed my nixpkgs changes to github: https://github.com/ashkitten/nixpkgs/tree/fix-firefox-ppc64le-musl | 17:06:56 |
problems | nix build github:ashkitten/nixpkgs/fix-firefox-ppc64le-musl#pkgsCross.musl-power.firefox | 17:07:38 |
problems | here's my build log: https://gist.github.com/ashkitten/5bfa92664c80e5e4082eca94f5dbfdfd | 17:08:19 |
problems | it truly beats me why exit status 0 is an error here... | 17:10:52 |
problems | okay.. got past that. now i'm having different errors! | 18:22:59 |
problems | https://gist.github.com/ashkitten/a8f46190ae9c734bc7b0fe1a4581700f | 18:23:21 |
problems | guess it's trying to run the wrong as but i'm not sure where it's getting that from | 18:23:41 |
problems | interesting... pkgsCross.musl-power.buildPackages.rustc.llvmPackages.bintools doesn't contain as | 18:35:38 |
problems | llvmPackages.bintools doesn't at all, actually | 18:36:03 |
problems | i'll try building without lto.. see if that at least gets it to build, then work on lto | 18:40:11 |
problems | the issue is it's passing -fno-integrated-as to clang, but there is no as in the closure if cc is overridden with a bintools that doesn't contain as i think | 18:41:36 |
problems | ayyyyy it built!! | 19:08:03 |
problems | so now i need to make sure the wrapper builds, and see if i can add as back to stdenv without messing everything up | 19:10:57 |