<samueldr> I don't remember what I did when playing with the qualcomm download mode, but looks like my oneplus oneplus3 does weird stuff during boot :)
<samueldr> looks like I'll have to fully recover it to stock
<samueldr> for anyone scared about mobile nixos bricking their device: this is 99.999% sure not related to mobile nixos... I was exploring the limits of the device last time I was doing something with it
<samueldr> hmmm... I wonder if it could be related to my attempt at "relocking" the device from the download mode
<samueldr> though it did not work, it surely could have messed up something else
<clever> test/t/test_perldoc.py .F. [ 55%]
<clever> samueldr: even with a doCheck = false overlay, it still runs the tests, weird
<clever> ok, weird, its part of pulseaudio's deps, wut
<clever> aha
<clever> qemu depends on pulse
<clever> and i think i see the overlay problem now
<clever> i'm doing pkgs.pkgsCross.armv7l-hf-multiplatform.extend overlay;
<clever> so the native deps (like qemu) arent obeying the overlay
h0m1 has quit [Ping timeout: 256 seconds]
h0m1 has joined #nixos-aarch64
rajivr has joined #nixos-aarch64
knerten1 has joined #nixos-aarch64
knerten2 has quit [Ping timeout: 256 seconds]
pinkieval has quit [Ping timeout: 265 seconds]
pinkieval has joined #nixos-aarch64
alp has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cole-h has quit [Quit: Goodbye]
mvnetbiz_8 has quit [Quit: Bye!]
mvnetbiz_8 has joined #nixos-aarch64
mvnetbiz_8 has quit [Client Quit]
mvnetbiz_8 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
zupo has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
dustinm has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
<patagonicus> Hmm. Has anyone had luck getting haskell to work on armv7l? ghc seems to be marked as not supporting it, which is a bit of a bummer since I'd like to install git-annex.
alp has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
<thefloweringash> iiuc, ghc uses bootstrap binaries, so we're dependent on upstream. as of ghc 8.10.1, upstream publishes binaries for armv7 (see https://www.haskell.org/ghc/blog/20200515-ghc-on-arm.html and https://downloads.haskell.org/ghc/8.10.1/ )
<thefloweringash> shouldn't be impossible, but 8.10.1 is newer than the current binary version in nixpkgs (8.6.5)
alp has joined #nixos-aarch64
<patagonicus> Ah, cool. Guess I'll play around with that a bit, but I'll probably work on other things first. git-annex isn't a hard dependency for what I want to do, would just be nice. I can just run it off of an x86 machine and mount the stuff from the arm machines via NFS/SSHFS/NBD/whatever.
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
tilpner has quit [Quit: tilpner]
tilpner has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
disasm has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
Thra11 has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
NickHu has left #nixos-aarch64 ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
<DigitalKiwi> https://github.com/NixOS/nix/issues/3799 oh good someone opened an issue about that which has been bothering me
<{^_^}> nix#3799 (by jtojnar, 1 week ago, open): hash '' has wrong length for hash type 'md5'
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos-aarch64
alp has joined #nixos-aarch64
zupo has joined #nixos-aarch64
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
<colemickens> hm my pi4 is no longer booting the system profile :|
<samueldr> what's it booting
<colemickens> thisisacutebugthisisacutebuthisisacutebthisisacutethisisacutthisisacuthisisacthisisathisisaathisisathisisthisithisthitht
<colemickens> /boot is not mounted, I probably did something bad
<samueldr> I hope this is not a password
<colemickens> nah, something buggy in the latest Element client causes the cursor to get duplicated in place and dupes text wildly
<samueldr> sounds likely on pi4 if you don't have a FAT32 partition
<samueldr> yep, the text is duplicated as many times as there are chars, every time with one fewer char on the end, it looks like
<colemickens> this is weird though, this pi has been in steady state for months
<samueldr> maybe it failed to mount the /boot partition? look at logs?
<colemickens> and I haven't changed how my mounts are configured, and my zfs partitions are clearly mounted
<colemickens> I guess so! yeah...
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-aarch64
<colemickens> it looks like at one point /boot was unmounted, then the bootloader got installed, then mounting got blocked because /boot was non-empty.
<colemickens> If I had pushed a generation without /boot mounted even once, and didn't take steps to recover, this would've happened. (And I think might've iirc)
orivej has quit [Ping timeout: 240 seconds]
<samueldr> what weird me out is why the boot didn't get failed by systemd if a mount failed
<colemickens> It wasn't failed, and something else is still wrong.
<colemickens> I rebooted and /boot is unmoutned again.
<colemickens> My zfs mounts are still here, so this file (with /boot declared) is still active in this generation. :?
<samueldr> I have had *one* boot on the pi4 with similar unmounted /boot and no fail from systemd
<colemickens> boot.mount - /boot
<colemickens> Loaded: loaded (/etc/fstab; generated)
<samueldr> well, I think, I don't remember having looked into it
<colemickens> Active: inactive (dead)
<samueldr> and couldn't reproduce at the time so I chalked it up to me not having looked at things properly
<colemickens> to be fair, for *some* reason I have `nofail` configured for `/boot` (which honestly, an old generation is better than a failed boot for this device)
<samueldr> hmmm... it shouldn't be nofail
<colemickens> I am a bit confused simply from a linux perspective what's going on
<samueldr> oh
<samueldr> I see why it's nofail
<samueldr> and I hate this
<samueldr> this is because with the default setup it's not important, we don't manipulate /boot
<samueldr> well, let me rephrase it right: we don't manipulate the fat32 partition specific to the raspberry pi
<samueldr> I hate lists in configurations in NixOS
<samueldr> there is no clean way to remove stuff from them :(
<colemickens> I dropped a bunch of stuff from this config, I wonder if it caused /boot to stop auto-mounting since it had 'noauto' on?
<colemickens> I'm rebuilding now without `noauto` to see if it helps
<colemickens> dropping noauto seemed to do it. /boot is as I expected on reboot.
<colemickens> Hmph.
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-aarch64
quinn has joined #nixos-aarch64
<samueldr> and nofail?
<samueldr> I really think it should go :/
<colemickens> I kept nofail, but only because I don't want my Pi to ever be in a situation where Ih ave to go plug in hdmi etc
<samueldr> hm
<samueldr> understandable
<colemickens> a big flashing banner "hey your /boot is unmounted" when I login would be cool, but so would lots of things, heh
<colemickens> I have thought a "nixos.warnIfBootUnmountedOnActivate" or something would be neat. Haven't really thought it through though.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Remote host closed the connection]
<clever> when booting legacy with ext4, you also dont need a dedicated /boot/
alp has joined #nixos-aarch64
<colemickens> legacy, vs u-boot/efi?
<samueldr> clever: please expand
<clever> samueldr: if your legacy booting with mbr (or gpt+bios boot), and ext4 for /, then your /boot can just be a normal dir on the rootfs
<samueldr> on a raspberry pi? :)
<samueldr> or even pretty much all ARM SBCs? :)
<clever> on x86
<clever> for an arm, you could maybe configure u-boot to look at the /boot folder of an ext4 rootfs, and then /firmware doesnt need to be mounted or updated
<samueldr> I don't follow why you said that then :)
<clever> half forgot that this is an arm channel
alp has quit [Ping timeout: 272 seconds]
jumper149 has joined #nixos-aarch64
Thra11 has quit [Quit: WeeChat 2.8]
<samueldr> neat, prototypical form of volume keys + power input for the boot menu is done
<clever> nice!
<clever> are the keys acting as a keyboard out of the box?
<samueldr> useful for those devices where the touchscreen doesn't work (yet?) or that early
<samueldr> yep
<samueldr> and directly map to the right KEY_ events
<clever> nice
<samueldr> at least with android-based downstream kernels, across the board
<samueldr> the issue was more with the GUI toolkit in use, it's... kinda not ready for keyboard input :)
<samueldr> keyboard input will also be useful for dogfooding (soon) on my computers
<clever> ive had to manually write a shim driver for that before, with the mpr121 touch sensor
<clever> the mpr121 driver in linux, talked to the i2c chip, and detected which element you pushed
<samueldr> and tangentially related, I want to get started on encrypted devices setup
<samueldr> so the boot GUI can ask for a password
<clever> but the platform driver (which is kinda missing), is what sets the device addr on the bus, and maps each element to a KEY_ code
<samueldr> I can't dogfood unless this is possible
<clever> back before device-tree was common
<clever> sadly, the mpr121 is also out of production, and i cant find any similar-ish chips
<samueldr> so yeah, a small milestone, but one that would have required so much more hair pulling if I hadn't forked the library
<samueldr> (and I did so *also* because it now requires a CLA to contribute, which is eww)
<clever> CLA?
<samueldr> the good thing is I can start tearing out things that only makes sense for their generic embedded use case
<samueldr> contributor licensing agreement (I think)
<samueldr> you sign your rights to the contribution so they can re-license as will
<clever> ah
<clever> i remember OSM going thru something similar i think?
<clever> and deleting contributions fro people who didnt ack it
<samueldr> possible
<samueldr> hm
<samueldr> looks like they dropped the CLA requirement since
<{^_^}> lvgl/lvgl#1530 (by kisvegabor, 7 weeks ago, closed): Contributor's License Agreement
<samueldr> much better
<clever> i tend to just ignore the license for most things
<clever> if i change it, i post changes to my fork on github
<clever> and then either i pr it back, or i forget about it
<samueldr> oh boy
<samueldr> without the proper license it may not be legal
<clever> the changes are public, do with it as you will
<samueldr> even if the source is available and on github
<clever> which licenses would get upset over my actions?
<samueldr> when there is none
<clever> ah
<samueldr> it's all rights reserved to the author
<samueldr> so you're doing copyright infringement
<clever> if its on github, and the fork button works, then id blame them for not disabling that
<samueldr> (or any non open source "license", which ends up being about equivalent to all rights reserved to the author)
orivej has joined #nixos-aarch64
<samueldr> I don't think a project can disable the fork button
<clever> ive only seen it disabled on private repos within an org
<samueldr> yeah
<clever> there used to be bugs involving that too
<samueldr> and that still doesn't invalidate their fully ownership and copyright over the code
<clever> if you forked a private repo, to another org, and then lost access to the original, the fork still worked
<clever> and due to how all forks share the object store in github, you could pull a commit from the fork, if you knew the sha1
<clever> i tend to just keep the history and original authorship info intact, so you can proove who made what
<clever> and its obvious i'm not claiming to have written those parts
<samueldr> even adding on top of existing copyrighted work is (AFAIUI) a no-no :(
<clever> most projects i deal with are at least open-source based
<samueldr> copyrighted and where you haven't been given rights*
<samueldr> yeah
<samueldr> most likely you won't be in trouble, but it's something to be aware of
mvnetbiz_8 has quit [Quit: Bye!]
<clever> the bit of a weird part, is that the rpi uefi guys, refuse to even look at GPL'd code
<clever> because its not compatible with the uefi license, and they dont want that even in their head
<samueldr> so yeah, the CLA included the following:
<samueldr> >> **Copyright License.** You hereby grant, and agree to grant, to LVGL a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, royalty-free, transferable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute your Contributions and such derivative works, with the right to sublicense the foregoing rights through multiple tiers of sublicensees.
<samueldr> which, withoug being a lawyer, sure sounds like "we own your code now, we can re-license as we please"
<clever> yeah
<samueldr> clever: that's a perfectly valid approach
<samueldr> that way, though not easy to prove, he at least knows his contribution is not "tainted" (interpretations vary) by the GPL
mvnetbiz_8 has joined #nixos-aarch64
<samueldr> so huh, I guess I don't have an issue with their project anymore... other than they changed the API way too much so I'll stick with the fork for the time being :)
<clever> the only project i can think of where the license was maybe questionable, was realvnc...
* clever looks
<clever> ah, github claims gpl
<samueldr> if the initial commit was, without changes, from one of their tarball it looks like it is GPL
<clever> yeah, original commit was 4.1 from their site, without any changes
<clever> one thing that really weirds me out, is synergy
<clever> you have to pay for the windows binary, yet the full source is on github, and linux is free (but up to the distro to build)
<samueldr> totally legal
<samueldr> xchat, which is GPL, was for a long time sold as a binary for windows by the project proper
<samueldr> you could compile your own, and distribute your own binary
<samueldr> and some other projects did
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
<samueldr> so, if the windows part uses the core https://github.com/symless/synergy-core/blob/master/LICENSE
<samueldr> it's GPL
<samueldr> they're free to do so
<samueldr> but I believe the windows app might not
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos-aarch64