In fairness, though Nix does take the pain out of cross-compilation and other operations through a higher-level package and configuration management layer, a saner build system and toolchain would have accomplished the same in the particular case of cross-compiling: http://aiju.de/rant/cross-compiling