Packages

Development tool for capturing Gleam build information in Nix

Current section

Files

Jump to
zeiss README.md
Raw

README.md

# Zeiss
[![Package Version](https://img.shields.io/hexpm/v/zeiss)](https://hex.pm/packages/zeiss)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://zeiss.hexdocs.pm/)
_"A gleam of light, focused through a lens, captured for ever."_
Development tooling for converting Gleams `manifest.toml` into a `.nix` format that can be used as an `import` in a Nix derivation.
> This tool does **not** provide a way to build a Gleam application. It only captures a Gleam projects dependencies into a Nix file.
>
> A derivation which handles this file has to be supplied by the user.
## Usage
Add `zeiss` as a development dependency to your project
```sh
gleam add --dev zeiss
```
Generate the `.nix` representation of your `manifest.toml`
```sh
gleam run -m zeiss
```