ghostty
Convenient module to build Ghostty from source without the need to installNix or Zig in your local environment
Installation
dagger install github.com/marcosnils/daggerverse/ghostty@b567b2ebc1daf6860500f8b17ce3ef0fb693b693Entrypoint
Return Type
Ghostty !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ghosttyTag | String ! | "tip" | No description provided |
| zigVersion | String ! | "0.13.0" | No description provided |
| ubuntuVersion | String ! | "latest" | No description provided |
| pBase | Container | - | No description provided |
Example
dagger -m github.com/marcosnils/daggerverse/ghostty@b567b2ebc1daf6860500f8b17ce3ef0fb693b693 call \
--ghostty-tag string --zig-version string --ubuntu-version stringfunc (m *MyModule) Example(ghosttyTag string, zigVersion string, ubuntuVersion string) *dagger.Ghostty {
return dag.
Ghostty(ghosttyTag, zigVersion, ubuntuVersion)
}@function
def example(ghostty_tag: str, zig_version: str, ubuntu_version: str, ) -> dagger.Ghostty:
return (
dag.ghostty(ghostty_tag, zig_version, ubuntu_version)
)@func()
example(ghosttyTag: string, zigVersion: string, ubuntuVersion: string, ): Ghostty {
return dag
.ghostty(ghosttyTag, zigVersion, ubuntuVersion)
}Types
Ghostty 🔗
binary() 🔗
Returns a container that echoes whatever string argument is provided
Return Type
File ! Example
dagger -m github.com/marcosnils/daggerverse/ghostty@b567b2ebc1daf6860500f8b17ce3ef0fb693b693 call \
--ghostty-tag string --zig-version string --ubuntu-version string binaryfunc (m *MyModule) Example(ghosttyTag string, zigVersion string, ubuntuVersion string) *dagger.File {
return dag.
Ghostty(ghosttyTag, zigVersion, ubuntuVersion).
Binary()
}@function
def example(ghostty_tag: str, zig_version: str, ubuntu_version: str, ) -> dagger.File:
return (
dag.ghostty(ghostty_tag, zig_version, ubuntu_version)
.binary()
)@func()
example(ghosttyTag: string, zigVersion: string, ubuntuVersion: string, ): File {
return dag
.ghostty(ghosttyTag, zigVersion, ubuntuVersion)
.binary()
}