Cross compilation in Nixpkgs help

You might find some of this post helpful:

Though ironically I didn’t get into the topic of splicing there.