#nixpkgs

it is possible that NixWRT is doing a lot more compilation than it needs to (even given that there is no MIPS binary cache) because of I-didn't-understand-how-overlays-work when I wrote the overlay for it.

For example, where I wrote coreutils = super.coreutils.overrideAttrs (o: { doCheck = false } ) that changes the build system coreutils as well as the mips coreutils, so everything x86-64 that depends on coreutils is getting built from source instead of pulled from cache.

Leastways, that's how I now think it works. ICBW this time too

#nixpkgs #nixwrt

Linux version 5.4.64 (nixbld@nixwrt.builder) (gcc version 9.3.0 (GCC)) <a href="https://terse.telent.net/tags/1" class="mention hashtag" rel="tag">#<span>1</span></a> Tue Sep 15 13:33:49 UTC 2020

Pausing here for a brief "woohoo!"

It doesn't mount the root fs yet, maybe (it suddenly occurs to me literally as I write this toot) because I forgot to build the phram target. And then the next big task is to build wireless modules from linux-backports. And maybe, y'know, actually commit some stuff to git?

#nixwrt #mips #nixpkgs #WhoSaysSentencesCantStartWithConjunctions