📸 Development tool for capturing Gleam build information in Nix zeiss.hexdocs.pm
nix gleam
README.md

zeiss #

Package Version Hex Docs

"A gleam of light, focused through a lens, captured for ever."

  .~_/z\_.,
  |-`(*).-|  `manifest.toml` ---> `zeiss.nix`
  '-------'

Development tooling for converting Gleams manifest.toml with all its dependencies into a zeiss.nix file which can be used as an import in a Nix derivation.

Note however:

This tool does not provide a way to build a Gleam application.

In order to build a Gleam application with Nix, a derivation which understands the generated zeiss.nix file needs to be provided.

Usage #

Add zeiss as a development dependency to your project

gleam add --dev zeiss

Generate the .nix representation of your manifest.toml

gleam run -m zeiss