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@b567b2ebc1daf6860500f8b17ce3ef0fb693b693
Entrypoint
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 string
func (m *myModule) example(ghosttyTag string, zigVersion string, ubuntuVersion string) *Ghostty {
return dag.
Ghostty(ghosttyTag, zigVersion, ubuntuVersion)
}
@function
def example(ghostty_tag: str, zig_version: str, ubuntu_version: str, ) -> dag.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 binary
func (m *myModule) example(ghosttyTag string, zigVersion string, ubuntuVersion string) *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()
}