zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
h0m1 has quit [Ping timeout: 240 seconds]
lordcirth_ has quit [Remote host closed the connection]
h0m1 has joined #nixos-aarch64
wavirc22 has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
lovesegfault has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos-aarch64
lovesegfault has quit [Quit: WeeChat 2.7.1]
lovesegfault has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 256 seconds]
wavirc22 has quit [Ping timeout: 258 seconds]
wavirc22 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
ilios1 has quit [Quit: WeeChat 2.7.1]
<Danct12[m]> is there anyway to skip builds and actually using prebuilts stuffs?
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Danct12[m]> also how can i view logs? there is `See `config.log' for more details` but i dont know where it is stored
<clever> Danct12[m]: for failed builds, --keep-failed
zupo_ has joined #nixos-aarch64
<Danct12[m]> ok
<Danct12[m]> thank you, here is the log: https://paste.ubuntu.com/p/KSNmcPvr8z/
lovesegfault has quit [Quit: WeeChat 2.7.1]
<clever> Danct12[m]: /nix/store/sympb5dirajv6qgw33fp7shclrg8fszj-aarch64-unknown-linux-musl-binutils-2.31.1/bin/aarch64-unknown-linux-musl-ld: cannot find -lgcc_s
<clever> configure:3983: error: C compiler cannot create executables
<Danct12[m]> yeah, no idea why is that error is
zupo has joined #nixos-aarch64
zupo_ has quit [Ping timeout: 258 seconds]
<Danct12[m]> hm, so it turns out that nix doesn't link the binutils folder correctly
<clever> Danct12[m]: there have been some changes with gcc_s recently
<Danct12[m]> so how can i fix this?
<Danct12[m]> can't build nixos-mobile if the error is still there
<clever> dont remember what the current fix for that is
lovesegfault has joined #nixos-aarch64
lovesegfault has quit [Quit: WeeChat 2.7.1]
lovesegfault has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chiefgoat has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
yvansraka has quit [Ping timeout: 258 seconds]
zupo has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
yvansraka has joined #nixos-aarch64
bdju has quit [Ping timeout: 260 seconds]
bdju has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
teto has joined #nixos-aarch64
lovesegfault has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> I'm updating a known cross-compiling branch here, Danct12[m] https://github.com/samueldr/nixpkgs/tree/mobile-nixos-wip
<samueldr> I'll need a more proper setup now that more and more users and contributors are interested :|
ingenieroariel has joined #nixos-aarch64
<samueldr> I'd almost need a "tested" jobset and a channel that would advance when it builds
<samueldr> well, not almost, that's what I need
zupo has joined #nixos-aarch64
<Danct12[m]> right, feel free to let me know when it's ready. samueldr .
<samueldr> you can use this already
<samueldr> if you checkout the branch, and set NIX_PATH=nixpkgs=path/to/that/repo
<samueldr> (or use -I nixpkgs=path/to/that/repo)
<Danct12[m]> nice
<Danct12[m]> by the way i've seen your pinephone image on twitter, cool!
<samueldr> thanks, though it's only the "basic port", bringing this up to feature parity with other platforms, still need to work on phone stuff, and stage-2 UI stuff
<samueldr> (stage-2 being booted system, after stage-1, which is initrd/initramfs)
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 255 seconds]
ingenieroariel has quit [Ping timeout: 240 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ryantrinkle> samueldr: very cool to see you have mobile nixos on the pinephone!
<ryantrinkle> is there a way I can try it?
<samueldr> currently cleaning up the PR
zupo_ has joined #nixos-aarch64
ingenieroariel has joined #nixos-aarch64
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ingenieroariel has quit [Remote host closed the connection]
teto has quit [Quit: WeeChat 2.7.1]
<samueldr> just opened #96 ryantrinkle :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/96 (by aszlig, 7 years ago, merged): google-talk-plugin: Prefer Debian package.
<samueldr> `oops
<samueldr> not that one
<samueldr> mobile-nixos#96 obviously
<{^_^}> https://github.com/NixOS/mobile-nixos/pull/96 (by samueldr, 37 seconds ago, open): device: add pine64-pinephone-braveheart
<ryantrinkle> samueldr: any recommendations on aarch64 buildboxes?
<samueldr> whatever you have
<samueldr> :)
<craige> PR #96 samueldr++ \o/
<{^_^}> samueldr's karma got increased to 181
<samueldr> I don't have any recommendation
<ryantrinkle> ah well i don't have anything great now - most powerful is probably a pine A64-LTS :P
<ryantrinkle> i'll look around
* craige puts his PinePhone on the charger and preps to install mobile nixos later
<samueldr> if you use https://github.com/NixOS/mobile-nixos/pull/91 on top of the other PR, you should be able to cross-compile a "disk-image" image, with an empty system partition, which you can expand and `dd` a system partition which shouldn't require much building from the nixos cache
<{^_^}> mobile-nixos#91 (by samueldr, 2 days ago, open): [WIP] rootfs: handle cross-compilation with a dummy rootfs
lovesegfault has quit [Quit: WeeChat 2.7.1]
<craige> Nice.
<craige> Almost the same as what4 I'm doing for my other aarch64 devices.
zupo_ has joined #nixos-aarch64
<samueldr> I will most likely be merging this by tomorrow
<samueldr> I'm leaving some time for interested parties to review, if any, but mostly, time for me to forget about what I've done a bit and re-read my implementation and review myself
<craige> :+1:
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiii has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 255 seconds]
lovesegfault has joined #nixos-aarch64
<ryantrinkle> samueldr: i just got a machine on packet.net; which attr do i build for the whole shebang?
<ryantrinkle> awesome; thanks!
<samueldr> though that won't build the "example" demo system
<samueldr> that will build an "empty" installer image which will not be useful
<samueldr> haha, I apparenty didn't document the building command in the example demo page
<samueldr> nix-build examples/demo/ --argstr device pine64-pinephone-braveheart -A disk-image # should do it
<ryantrinkle> # nix-build examples/demo --argstr device pine64-pinephone-braveheart -A disk-image
<ryantrinkle> trace: Building with crossSystem?: aarch64-linux != aarch64-linux → we're not.
<ryantrinkle> error: The option `services.blueman' defined in `<unknown-file>' does not exist.
<ryantrinkle> the empty installer image built very nicely :)
<samueldr> right, edit the configuration, it was built off 19.09
<samueldr> examples/demo/configuration.nix
<samueldr> I haven't updated it since
<samueldr> those are mainly nixos options
<samueldr> (you could also edit some options there for your first build if you desire so)
<samueldr> note that I don't have a good workflow for nixos-rebuild inside the image yet
<ryantrinkle> ah yeah, makes sense
<samueldr> I have one, undocumented, that I've been trying, though need to play a bit more with it to see
<ryantrinkle> i was hoping to cross the whole thing; i don't actually use nixos-rebuild anymore anyway (i use a git-driven flow)
<samueldr> I still didn't have a phone with networking really
<samueldr> cross won't happen for the reasons you know already
<samueldr> for the whole system
<samueldr> though hopefully always getting better :)
<ryantrinkle> well, i have a cross image that works modulo needing to type some stuff in during u-boot over the serial console :P
andi- has quit [Ping timeout: 268 seconds]
<ryantrinkle> btw is this using pine64's kernel or the mainline?
<samueldr> pine's
<ryantrinkle> ok cool
<samueldr> you surely don't have any GUI in your nixos-sbc :)
<ryantrinkle> haha no, certainly not
<ryantrinkle> i think matt bauer (who also works at obsidian) has some stuff for cross-compiling sway
<ryantrinkle> so that could potentially go somewhere
<samueldr> yeah, seen some stuff
<ryantrinkle> but for now i have this 32-core server on packet, which should be sufficient :P
<samueldr> yep
<ryantrinkle> i can probably script booting it up for my builds,haha
<samueldr> though stage-1 all cross-compiles
elvishjerricco has quit [Remote host closed the connection]
feepo has joined #nixos-aarch64
<samueldr> I also need to think of a better way to install to eMMC
<samueldr> hopefully something that also applied well for android devices
elvishjerricco has joined #nixos-aarch64
<ryantrinkle> samueldr: i'm not sure i even want to install to emmc on pinephone - i guess i don't know much about perf, but it's only 16GB
<ryantrinkle> i was planning to just go all-sdcard with a high endurance sdcard
<ryantrinkle> i haven't used them much before, though, so i'm not sure if that will be bad in some way
cstrahan____ has quit [Remote host closed the connection]
<samueldr> I've never had a satisfactory experience with SD cards, even good ones
<samueldr> like, validated good ones
<samueldr> the quality of life difference is like an old 5400RPM HDD compared to top of the line SSD
cstrahan____ has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo_ has quit [Ping timeout: 268 seconds]
chessai has joined #nixos-aarch64
alunduil has joined #nixos-aarch64
c00w has joined #nixos-aarch64
blackriversoftwa has joined #nixos-aarch64
rajivr___ has joined #nixos-aarch64
<ryantrinkle> interesting
<ryantrinkle> well i guess i'll make do with the small emmc then :P
<ryantrinkle> so: i'm having a bit of trouble getting the initrd stuff to work with this version of nixpkgs
<samueldr> what I'll try to do for my setup is have the eMMC for software+configs, and SD for files like music and such
claudiii has quit [Read error: Connection reset by peer]
NekomimiScience has quit [Read error: Connection reset by peer]
<samueldr> maybe even nix files on SD
zupo has quit [Ping timeout: 240 seconds]
<samueldr> but the root of the home and config folders on eMMC
<ryantrinkle> makes sense
<samueldr> with native compilation?
<ryantrinkle> yeah
<ryantrinkle> i'm not sure i understood what you were saying about nixos 19.09
<samueldr> sorry, I've been building with an older commit for a while so I wouldn't get side-tracked fiixing misc. issues
<samueldr> oh, it should be more recent though
<samueldr> that's what I've been using to develop stage-1
<samueldr> though, the stage-2 system was from a november commit, haven't rebuilt it since
<ryantrinkle> i just went down a rabbit hole regarding the `oneOf` type for the JSONValue type
<ryantrinkle> it seems to pull in a ton of stuff that doesn't exist
zupo has joined #nixos-aarch64
<samueldr> oh, if it has issues the PR from infinisil introducing it must have a fix
<samueldr> though haven't built it on aarch64 native, but evaluating should work there just as well
<ryantrinkle> OH! is this thing using '<nixpkgs>'?
<samueldr> yes
<ryantrinkle> oh lol
<ryantrinkle> ok
<samueldr> I mean, it's built on top of nixpkgs :)
<ryantrinkle> i just have whatever crap packet.net happened to put on my machine
angerman has joined #nixos-aarch64
<samueldr> and I haven't pinned nixpkgs in it, not sure about the best strategy yet
<ryantrinkle> yeah, i've gotten used to never using '<nixpkgs>'
<samueldr> though more and more I'm thinking it should be
NekomimiScience has joined #nixos-aarch64
<samueldr> and that I should have --arg pkgs ... if I don't want to use the pinned one
<ryantrinkle> yeah, i think that's right
<ryantrinkle> we've been pinning absolutely everything at obsidian for years now, and it's never been a problem
<ryantrinkle> (and often been a solution)
<ryantrinkle> our git thing for system configurations even does a `env -u NIX_PATH` before building anything
<ryantrinkle> just to make sure you don't *accidentally* use the environment
<samueldr> understandably
<samueldr> I do pin thngs usually
<samueldr> but for mobile nixos it needs to happen in a way that's not intrusive when you integrate mobile nixos in your system build
<samueldr> which is still something I need to figure the "just right" setup for :)
<ryantrinkle> yeah, that makes sense
pkral has joined #nixos-aarch64
<ryantrinkle> our thing is here: https://gitlab.com/obsidian.systems/basalt
<ryantrinkle> the short version is: we just always have a git subtree of nixpkgs in the configuration repo
<samueldr> (and I was working alone for so long that it didn't really matter)
TheNumb has joined #nixos-aarch64
claudiii has joined #nixos-aarch64
<ryantrinkle> basically the idea with this was that i wanted to ensure there would be *nothing* your system depended on that wasn't pinned by a single git hash
<ryantrinkle> and also that it was difficult/impossible to forget to write down your changes whenever you changed system configs
<ryantrinkle> so nixos-rebuild switch becomes git push
<samueldr> been personally toying with this for my own config https://gitlab.com/samueldr/nixos-configuration/-/tree/master/channels
<ryantrinkle> it's working pretty well so far, and also works for home-manager
<samueldr> definitely limited
<samueldr> and it doesn't sync up automatically
<ryantrinkle> yah, ours doesn't sync automatically either
<samueldr> anyway, I have to brb later
davidtwco has joined #nixos-aarch64
<ryantrinkle> cool; thanks!
<ryantrinkle> i appreciate all the help
andi- has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]