heroku-buildpack-nim

by vic

GitHub Readme.md

Heroku buildpack: Nim

This is a Heroku buildpack for Nim apps. It uses Nimble for dependency management.

Usage

The buildpack expects you to include a .nimble file in order to download dependencies and build your app.

Be sure to set the bin value on your nimble file to the executable name for your app.

And create a Procfile with a process to run for your executable:

web: ./main

Create an app using this buildpack

heroku create --stack cedar --buildpack https://github.com/vic/heroku-buildpack-nim.git

Options

If you want to use an specific Nim version use the NIM_BRANCH environment variable.

heroku config:set NIM_BRANCH=devel

Example

An example nimble app lives here