# Build images with nixpacks

**URL:** <https://community.fly.io/t/build-images-with-nixpacks/6169>\
**Category:** General\
**Created:** [July 27, 2022, 1:19pm UTC](https://community.fly.io/t/build-images-with-nixpacks/6169 "2022-07-27T13:19:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jasonkuhrt](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jasonkuhrt/32/7700_2.png) [@jasonkuhrt](https://community.fly.io/u/jasonkuhrt)\
**Post date:** [August 2, 2022, 7:59pm UTC](https://community.fly.io/t/build-images-with-nixpacks/6169/2 "2022-08-02T19:59:03Z")

</div>

Just tried this but got an error. It works without the `--nixpacks` flag.

Is it because I am using the `--remote-only` flag?

 ![CleanShot 2022-08-02 at 15.58.15@2x](https://global.discourse-cdn.com/fly1/original/3X/5/f/5fb580398d62ab59285940baccd4b25f142efdef.png)

---

_[View the full topic](https://community.fly.io/t/build-images-with-nixpacks/6169)._
