gleam2nix cli
the gleam2nix cli tool is used for generating the gleam.nix file containing builds for each individual dependency in your project, ready for use in gleam2nix’s nix functions (eg. buildGleamApplication).
$ gleam2nix [output_path] [manifest_file]arguments
Section titled “arguments”all arguments to gleam2nix are optional.
output_path: where to write the generated nix code to. defaults togleam.nixin the current directory.manifest_file: the path to your gleam project’smanifest.toml. defaults to the one in the current directory (ie../manifest.toml)
examples
Section titled “examples”output the generated nix code to a nix folder:
$ gleam2nix nix/gleam.nixgenerate gleam.nix based on the contents of the manifest.toml in a subdirectory:
$ gleam2nix gleam.nix gleam_project/manifest.toml