!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

311 Members
93 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
3 Sep 2023
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nlIt's theoretically meant as a set of examples 07:05:36
@trofi:matrix.org@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@rick:matrix.ciphernetics.nlThere were also voices that said they wanted to get rid of it11:18:48
@raitobezarius:matrix.orgraitobezariusI still think getting rid of it is faster11:28:17
@artemis:arty.chatartemispkgsCross is like the only reason i use nix haha11:40:58
@raitobezarius:matrix.orgraitobezariusWell, the good news is you will still be able to use it :)11:41:43
@artemis:arty.chatartemiswhat does getting rid of it entail then, moving it out of the nixpkgs tree?11:42:03
@raitobezarius:matrix.orgraitobezariusNo12:08:59
@raitobezarius:matrix.orgraitobezariuspkgsCross is just convenience for12:09:08
@raitobezarius:matrix.orgraitobezariusnix-build -A something --argstr crossSystem "a system config"12:09:35
@raitobezarius:matrix.orgraitobezariusIt is an arbitrary limitation of the full power of the cross compilation infra12:09:55
@raitobezarius:matrix.orgraitobezariusAnd is useful to refer to cross compiled package internally to nixpkgs via the available examples12:10:16
@kity:kity.wtfproblemsalright i'm back on the case17:02:06
@kity:kity.wtfproblemsgetting firefox to build for ppc64le-musl17:02:19
@kity:kity.wtfproblemswith obnoxiously cryptic errors17:02:36
@kity:kity.wtfproblemsdoes anyone want to try their hand? i pushed my nixpkgs changes to github: https://github.com/ashkitten/nixpkgs/tree/fix-firefox-ppc64le-musl17:06:56
@kity:kity.wtfproblems nix build github:ashkitten/nixpkgs/fix-firefox-ppc64le-musl#pkgsCross.musl-power.firefox 17:07:38
@kity:kity.wtfproblemshere's my build log: https://gist.github.com/ashkitten/5bfa92664c80e5e4082eca94f5dbfdfd17:08:19
@kity:kity.wtfproblemsit truly beats me why exit status 0 is an error here...17:10:52
@kity:kity.wtfproblemsokay.. got past that. now i'm having different errors!18:22:59
@kity:kity.wtfproblemshttps://gist.github.com/ashkitten/a8f46190ae9c734bc7b0fe1a4581700f18:23:21
@kity:kity.wtfproblems guess it's trying to run the wrong as but i'm not sure where it's getting that from 18:23:41
@kity:kity.wtfproblems interesting... pkgsCross.musl-power.buildPackages.rustc.llvmPackages.bintools doesn't contain as 18:35:38
@kity:kity.wtfproblemsllvmPackages.bintools doesn't at all, actually18:36:03
@kity:kity.wtfproblemsi'll try building without lto.. see if that at least gets it to build, then work on lto18:40:11
@kity:kity.wtfproblems 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
@kity:kity.wtfproblemsayyyyy it built!!19:08:03
@kity:kity.wtfproblems 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

Show newer messages


Back to Room ListRoom Version: 6