1 2 3 4 5 6 7 8 9
with import <nixpkgs> { crossSystem = { config = "arm-linux-gnueabihf"; }; }; mkShell { buildInputs = [ zlib ]; # your dependencies here }