<jabranham>
Does cache.nixos.org not serve a binary package for the kernel?
<jabranham>
I'm trying to do the first "nixos-rebuild switch --upgrade" on a raspberry pi 3 B+ and nix keeps insisting that it needs to compile the kernel.
<samueldr>
it does serve everything, but depending on which commit you're using, it might not be cached
<samueldr>
the channels will not wait for aarch64 to complete building
<samueldr>
well, the nixos-* channels
<clever>
ahh, that would explain it
<samueldr>
(and additionally, it could happen that there's a bug making it fail to build, or that it failed due to misc. failures in hydra)
<jabranham>
Is there a way to specify an older commit?
<clever>
jabranham: did it happen immediately after first installing, or did a nix-channel command break it"
<clever>
?
<jabranham>
immediately
<samueldr>
>> "nixos-rebuild switch --upgrade"
<samueldr>
so clever, ^ after upgrading :)
<clever>
yeah, its possible that updating the channel could fix it
<jabranham>
so nix-channel --update then nixos-rebuild switch --upgrade?
<clever>
`nixos-rebuild switch --upgrade` calls `nix-channel --update` for you
<jabranham>
I thought that nix-channel for root was separate from the nixos- stuff?
<samueldr>
seems the kernel recently timed out in hydra for aarch64
* samueldr
was looking at 18.09
<clever>
jabranham: all of the nixos commands use the channel called nixos, on root
<jabranham>
clever: gotcha, that makes sense
orivej has joined #nixos-aarch64
<samueldr>
jabranham: did you configure a specific kernel, or kept the default?
<jabranham>
it's still compiling for me. Step 83/1500 :-/
<samueldr>
nope, /nix/store/8f0p6kn0pmiwkpa93h1a7jqspad0j898-systemd-239 isn't in cache.nixos.org
<samueldr>
strace seems to be though
<samueldr>
(at least, your paths)
<samueldr>
nix-store --realise will download when possible even on non-aarch64
<lopsided98>
My local hydra instance builds anything that I need that is missing in cache.nixos.org, so its harder to tell what isn't in the official cache
<jabranham>
lopsided98: I'm not fancy enough for that yet. I only started using nixos a week or two ago.
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-aarch64
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]