evils has quit [Remote host closed the connection]
evils has joined #nixos-aarch64
wavirc22 has quit [Ping timeout: 240 seconds]
wavirc22 has joined #nixos-aarch64
evils has quit [Quit: Lost terminal]
evils has joined #nixos-aarch64
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
evils has quit [Quit: Lost terminal]
evils has joined #nixos-aarch64
evils has quit [Client Quit]
evils has joined #nixos-aarch64
mvnetbiz_ has quit [Read error: Connection reset by peer]
evils has quit [Quit: Lost terminal]
evils has joined #nixos-aarch64
leonardp has joined #nixos-aarch64
<leonardp>
hello! `nix build -f channel:nixos-19.09 pkgsCross.aarch64-multiplatform.firefox` fails for me with: `error: attribute 'llvmPackages_7' missing` it also fails on nixpkgs-unstable
<tilpner>
So it's the same for all, but llvmPackages_7 expects it to contain more
<leonardp>
i don't think i can follow you there. i am relatively new to nixos
<tilpner>
I can't really help you, but it doesn't appear to be specific to aarch64
<leonardp>
ah, that is already good to know :) thanks for investigating!
<tilpner>
It also happens when naively importing nixpkgs with crossSystem set, so without pkgsCross
<tilpner>
I could be doing it wrong, but perhaps the top-level llvmPackages_7 definition is not cross-aware?
* tilpner
just saw the same conservation on #nixos
<tilpner>
Oh, well that's awkward
<leonardp>
hehe, #nixos sent me here, but it appears to be related to something with patchelf
* clever
waves
<clever>
tilpner: i'm not entirely sure what its doing, but the llvmPackages_7 in all-packages.nix references targetPackages.llvmPackages_7, which implies it is cross-aware
<tilpner>
I don't really know what I'm talking about, and should probably stop
<clever>
yeah, i also dont fully grasp how all of the cross stuff works together
<clever>
even after adding a new cross target
<leonardp>
oh wow :)
<leonardp>
suddenly chrome seems like a viable option for my pinebook
wavirc22 has joined #nixos-aarch64
<leonardp>
clever: i saw your binfmt wrapper overlay mentioned in the wiki, is this still needed/functional or is it sufficient to set `boot.binfmt.emulatedSystems`?
<clever>
leonardp: ive not gotten around to seeing what boot.binfmt.emulatedSystems does exactly
<leonardp>
well, do you know if your overlay working/usable atm?
<clever>
leonardp: its still active on my laptop, but i dont remember when exactly i last did an update
<leonardp>
so, i could use it to configure my desktop machine as a remote builder for my arm hardware?
<clever>
leonardp: yeah
<leonardp>
that sounds really nice, i think i'll try that approach :)
<leonardp>
thanks!
<thefloweringash>
Is the idea here to emulate x86_64 to run chrome?
<thefloweringash>
I hope I’ve misread scroll back
<leonardp>
nah, i got a pinebook pro (arm laptop) this week, and would like firefox/chrome on it
<leonardp>
and *normal* cross-compilation unfortunately appears to be broken right now for both
<thefloweringash>
If it helps, chromium builds natively
<clever>
leonardp: aarch64 or arm32?
<thefloweringash>
the pro is rk3399, aarch64
<clever>
leonardp: hydra should be pre-compiling things for aarch64
<leonardp>
thefloweringash: i am building chromium right now natively, but if i can i would like to avoid that
<leonardp>
clever: it automatically tries to build these so i was assuming they were not in the binary cache. am i doing something wrong?
<clever>
leonardp: what thefloweringash said
<leonardp>
clever: do nixops deployments work in cunjunction with your overlay?
<clever>
leonardp: should work just fine, just use nixpkgs.overlays in the nixos setup
<leonardp>
clever: great! thanks for the heads up!
<thefloweringash>
I thought I saw changes to the arm build servers that would make `big-parallel` be sufficient to build chromium, but hydra is still producing timeouts.
<leonardp>
i my optionion the problem lies in the compile times of ff/chromium not in the hydra config...
<clever>
leonardp: the hydra config can point it towards a machine that dedicates more cores to a single build
<leonardp>
that makes sense, but i find the compile times ridiculous nonetheless
<srk>
leonardp: +1. as a backup you can use netsurf .. nix-build -E '(import ./. {}).netsurf.browser.override{uilib = "gtk";}'
<srk>
I didn't even try building firefox on armv7 as I know there's no much hope to build it anyway, using netsurf and x11spice/spicy from spice-gtk instead :D