odroid xu3 is running linux already. here i keep a few notes on how to run nixos on it.

nix

got nix 1.8 working back in june. so according to azlig next thing will be:

   nix-build -A system nixos/default.nix -k    

build bootstrap-tools

for a different arch than ARM or X86/X86_64 it is mendatory to build a bootstrap toolchain:

   https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/make-bootstrap-tools.nix

should be built using:

   nix-build make-bootstrap-tools-cross.nix  -A armv7l -Q

if everything works, the result directory is created:

   result/on-server/bootstrap-tools.tar.xz

and there is the bootstrap-tools.tar.xz which can then be used in:

   pkgs/stdenv/linux/bootstrap/armv5tel.nix:    url = "http://vicerveza.homeunix.net/~viric/tmp/nix/bootstrap-tools.tar.xz";
   pkgs/stdenv/linux/bootstrap/armv6l.nix:    url = https://dl.dropboxusercontent.com/s/pen8ieymeqqdvqn/bootstrap-tools.tar.xz?dl=0;
   pkgs/stdenv/linux/bootstrap/armv7l.nix:    url = https://dl.dropboxusercontent.com/s/3jr4s5449t7zjlj/bootstrap-tools.tar.xz?dl=0;
   pkgs/stdenv/linux/bootstrap/i686.nix:    url = http://tarballs.nixos.org/stdenv-linux/i686/8d66a51a872af1ab58edc68a2ebddcc79958b563/bootstrap-tools.tar.xz;
   pkgs/stdenv/linux/bootstrap/loongson2f.nix:    url = "http://tarballs.nixos.org/stdenv-linux/loongson2f/r22849/cross-bootstrap-tools.cpio.bz2";
   pkgs/stdenv/linux/bootstrap/x86_64.nix:    url = http://tarballs.nixos.org/stdenv-linux/x86_64/8d66a51a872af1ab58edc68a2ebddcc79958b563/bootstrap-tools.tar.xz;

nix-env

   nix-env --option use-binary-caches false -I nixpkgs=/root/nixpkgs -f /root/nixpkgs/default.nix -i mc

how to build nix

https://nixos.org/wiki/How_to_install_nix_in_home_(on_another_distribution)

Powered by MediaWiki