00:12
<
flokli >
and the wifi module works. hell yeah :-)
00:16
ryantrinkle has joined #nixos-aarch64
00:26
<
noneucat >
i know that you can easily spin up nixos itself in qemu, but i'm wondering if any work has been done to just run nix itself in qemu userspace?
00:26
<
noneucat >
the idea being that if you wanted to build something for aarch64 it might be faster to compile it with user space emulation rather than spinning up a full vm
00:46
<
flokli >
noneucat: there's the whole binfmt stuff
00:47
<
flokli >
look at nixos/tests/systemd-binfmt.nix, it should be pretty self-explanatory ;-)
00:48
<
flokli >
wow, DTBs are wild. both linux and uboot first run the preprocessor with some magic flags on each dts file, because they didn't bother adding support for includes to dtc itself
00:49
<
noneucat >
ahh thank you, this will help
00:49
<
noneucat >
dtbs are scary stuff i only touch whenever i have to :)
00:54
rajivr has joined #nixos-aarch64
01:02
<
flokli >
hell, I refuse to replicate this
01:03
<
flokli >
Why does .dtc not simply understand #include? Or why is dtc not somewhat entangled into gcc?
01:18
<
samueldr >
flokli: becausue the CPP is just there
01:18
<
samueldr >
because*
01:18
<
samueldr >
(yeah, it's not great)
01:19
<
flokli >
it's super scary
01:19
<
flokli >
having a small wrapper in front of dtc that does this on the fly would be better than this makefile soup
01:32
cole-h has quit [Ping timeout: 246 seconds]
01:53
<
flokli >
Anyone had luck cross-compiling dbus-python?
01:54
<
flokli >
That's apparently required by iwd...
02:49
h0m1 has quit [Ping timeout: 258 seconds]
02:51
h0m1 has joined #nixos-aarch64
02:54
<
noneucat >
apparently using nix through qemu userspace is as easy as adding the platform to binfmt platforms and setting the system argstr :)
02:55
<
noneucat >
currently building a mobile-nixos deriv to see if everything's working
03:03
<
noneucat >
samueldr: i only had to change a few things in system-target.nix to get things to build, should i make a PR?
03:04
<
noneucat >
the module could check which platforms are loaded by binfmt and choose accordingly
03:05
<
noneucat >
how to build foreign packages
03:12
<
{^_^} >
mobile-nixos#252 (by samueldr, 2 weeks ago, open): error: attribute 'selectBySystem' missing
03:12
<
samueldr >
if so, please do
03:13
<
samueldr >
if it's about binfmt, depends on what it is, bue I guess please do and we'll see
03:13
<
noneucat >
ahhh no, this isn't about that
03:13
<
noneucat >
i'm working off an older nixpkgs
03:13
<
noneucat >
this is about building packages through qemu userspace instead of cross compiling
03:14
orivej has quit [Ping timeout: 246 seconds]
03:14
<
samueldr >
note that this will never be a supported method, due to uh... the way this is not great always
03:14
<
samueldr >
but basically you need to make it not-a-cross-compilation
03:15
<
samueldr >
which is currently only detected
03:15
<
{^_^} >
mobile-nixos#57 (by samueldr, 1 year ago, open): Allow disabling cross-compilation auto-detection
03:16
<
noneucat >
ahhh i see! that makes sense :)
03:17
<
samueldr >
I don't know of a good ergonomic way to handle that though
03:17
<
samueldr >
oh, did you try megi's updated branch yet?
03:17
<
samueldr >
I need to do it anyway
03:18
<
noneucat >
currently building it
03:18
<
noneucat >
then i will test things
03:18
<
samueldr >
hopefully (not that likely) it might fix the issue with kexec :|
03:18
<
noneucat >
oh, is there an issue?
03:19
<
samueldr >
yeah, haven't investigated yet
03:21
<
Gaelan >
alright, I've supposedly got a rpi0 sd image
03:21
<
Gaelan >
can't find how many ways this fails to boot
04:12
<
{^_^} >
mobile-nixos#257 (by noneucat, 1 minute ago, open): Fix attribute 'selectBySystem' missing
04:12
<
samueldr >
oh, neat, I'll have to look at .elaborate and see what it does, but seems appropriate
04:12
<
samueldr >
thanks for taking the time to look
04:13
<
noneucat >
i haven't built anything w/ the change but it at least parses OK now
05:20
dsal has quit [Ping timeout: 260 seconds]
05:21
lukego has quit [Ping timeout: 260 seconds]
05:22
dsal has joined #nixos-aarch64
05:23
lukego has joined #nixos-aarch64
05:29
orivej has joined #nixos-aarch64
07:24
cole-h has joined #nixos-aarch64
08:06
<
andi- >
samueldr: Just saw that fosshost is now offering arm64 boxes. While we have access to that one packet box maybe it is worth to corrodinate applying there for some compute power? avg current
08:06
<
andi- >
dm-1 - Writes completed 1 iops 1.126K iops 17 iops 37 iops
08:06
<
andi- >
dm-0 - Reads completed 0 iops 1.089K iops 80 iops 5 iops
08:06
<
andi- >
sdb - Reads co
08:06
<
andi- >
pasted the wrong clipboard...
09:00
sarcasticadmin has quit [Quit: Idle for 30+ days]
09:00
neothefox has quit [Quit: Idle for 30+ days]
09:15
cole-h has quit [Ping timeout: 264 seconds]
09:24
ib07 has joined #nixos-aarch64
10:12
submoo[m]1 has joined #nixos-aarch64
10:57
justanotheruser has quit [Ping timeout: 246 seconds]
11:13
veleiro has quit [Ping timeout: 256 seconds]
11:19
orivej has quit [Ping timeout: 246 seconds]
11:19
Darkmatter66 has joined #nixos-aarch64
12:42
Darkmatter66 has quit [Ping timeout: 260 seconds]
13:08
fooker has quit [Ping timeout: 268 seconds]
13:08
jb55 has quit [Remote host closed the connection]
13:09
jb55 has joined #nixos-aarch64
13:22
fooker has joined #nixos-aarch64
13:35
orivej has joined #nixos-aarch64
14:03
alpernebbi has joined #nixos-aarch64
15:12
veleiro has joined #nixos-aarch64
15:29
orivej has quit [Ping timeout: 260 seconds]
15:57
h0m1 has quit [Quit: WeeChat 3.0]
16:13
veleiro` has joined #nixos-aarch64
16:16
veleiro has quit [Ping timeout: 240 seconds]
16:30
veleiro` has quit [Ping timeout: 256 seconds]
17:11
cirno-999 has quit [Ping timeout: 240 seconds]
17:22
cirno-999 has joined #nixos-aarch64
17:34
rajivr has quit [Quit: Connection closed for inactivity]
18:29
cole-h has joined #nixos-aarch64
18:44
Darkmatter66 has joined #nixos-aarch64
19:06
<
samueldr >
we have the one for community shenanigans
19:06
<
samueldr >
we have more for builders
19:06
<
samueldr >
not saying it's not a good idea to apply
19:17
ib07 has quit [Ping timeout: 240 seconds]
19:18
ib07 has joined #nixos-aarch64
19:38
v0|d has joined #nixos-aarch64
20:05
Thra11 has joined #nixos-aarch64
20:19
alpernebbi has quit [Quit: alpernebbi]
20:27
Raito_Bezarius has quit [Ping timeout: 260 seconds]
20:30
Raito_Bezarius has joined #nixos-aarch64
20:56
v0|d has quit [Remote host closed the connection]
21:32
justanotheruser has joined #nixos-aarch64
22:10
jb55 has quit [Remote host closed the connection]
22:12
jb55 has joined #nixos-aarch64
23:08
Darkmatter66 has quit [Ping timeout: 268 seconds]
23:57
orivej has joined #nixos-aarch64