<samueldr>
tiny issue wrt/ how the readme says to run it:
<samueldr>
-with import ../nixpkgs {};
<samueldr>
+with import <nixpkgs> {};
<elvishjerricco>
samueldr: Whoops
<elvishjerricco>
samueldr: Fixed
<samueldr>
:)
<elvishjerricco>
I can open a PR to nixpkgs with most of the changes, but 36236fa4b5b1cbec05fda6ac817d01f2c814b6d1 isn't really upstream-able. Not sure what to do about it though
* samueldr
started the build with `time`, after letting it download all packages, from a fresh nix garbage collection
<samueldr>
let's see how long it'll take :)
<elvishjerricco>
That ought to be good :P
<samueldr>
why?
<elvishjerricco>
Oh I just meant I'm curious how long it takes
<samueldr>
I am too
<samueldr>
luckily, it's cold tonight
<samueldr>
1h10
<samueldr>
well, it sure ain't gonna boot if I put the wrong file instead of the kernel in the boot image :/
<samueldr>
and the kernel won't boot :/ (using the initramfs from a known working build)
<elvishjerricco>
samueldr: So the run-vm script didn't just work out of the box? Darn
<samueldr>
oh, no
<samueldr>
I'm talking about my android kernel build
<samueldr>
the run-vm script didn't work, but didn't take a look
<samueldr>
well, a quick peek
<samueldr>
it checks $1, but you have it using `set -eu`
<samueldr>
something about creating a qcow image I think
<elvishjerricco>
samueldr: Yea, $1 should be the file you want to store the disk in
<samueldr>
ah
<samueldr>
that was it
<samueldr>
(didn't look closely :) )
<elvishjerricco>
I wish `set -eu` was the default :P
<samueldr>
I do too
<samueldr>
I often pair it with set -x, and PS4=" $ "
<samueldr>
(when the script isn't meant as a end-user program, but as a kind of alias or shortcut)
<elvishjerricco>
TIL about PS4, that's sweet.
<samueldr>
oh, I should've looked at your README, the second line tells it all :)
<samueldr>
well, I did, but stopped at the first command
<elvishjerricco>
Hah, yea I was hoping that'd be enough :P
<samueldr>
it is
<samueldr>
hm, no it shouldn't be enough, but you did do more than most would :D
<elvishjerricco>
I need to get into the habit of adding `usage` text by default when I write scripts
<samueldr>
I was distracted
<samueldr>
works wonderfully
<elvishjerricco>
samueldr: Could you share the expression you used to build your android kernel?
<makefu>
elvishjerricco: sorry for the late response it was 1:48 CET when i received your response :) yes i want to build a whole system so i only need to `nix copy` the closure to the raspi1
<elvishjerricco>
makefu: My goal exactly :)
<makefu>
the trick will be something like this: '(import <nixpkgs/nixos> { configuration = ./configuration.nix; })' (from your system.nix)
<elvishjerricco>
The trick is the `nixpkgs.crossSystem` line