# `buildInputs` vs. `nativeBuildInputs`?

<p class="callout info">This article was originally published at [https://gist.github.com/joepie91/b0041188c043259e6e1059d026eff301](https://gist.github.com/joepie91/b0041188c043259e6e1059d026eff301). </p>

More can be found [here](https://github.com/NixOS/nixpkgs/issues/4855#issuecomment-61966503).

- **buildInputs:** Dependencies for the (target) system that your built package will eventually run on.
- **nativeBuildInputs:** Dependencies for the system where the build is being created.

The difference only really matters when cross-building - when building for your own system, *both* sets of dependencies will be exposed as `nativeBuildInputs`.