Dagger
Search

stereOS

Provides CI functions for the stereOS flake.

Installation

dagger install github.com/papercomputeco/stereOS@3a8b84094bce30c72fa00bd32e86727da5b39da4

Entrypoint

Return Type
StereOs !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -Directory of the flake's source
Example
dagger -m github.com/papercomputeco/stereOS@3a8b84094bce30c72fa00bd32e86727da5b39da4 call \
func (m *MyModule) Example() *dagger.StereOs  {
	return dag.
			StereOS()
}
@function
def example() -> dagger.StereOs:
	return (
		dag.stere_o_s()
	)
@func()
example(): StereOs {
	return dag
		.stereOS()
}

Types

StereOs 🔗

source() 🔗

Return Type
Directory !
Example
dagger -m github.com/papercomputeco/stereOS@3a8b84094bce30c72fa00bd32e86727da5b39da4 call \
 source
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			StereOS().
			Source()
}
@function
def example() -> dagger.Directory:
	return (
		dag.stere_o_s()
		.source()
	)
@func()
example(): Directory {
	return dag
		.stereOS()
		.source()
}

checkDevshell() 🔗

CheckDevshell verifies that the Nix devshell evaluates and enters successfully inside a NixOS container. It mounts the flake source, runs “nix develop”, and checks that the shell’s tools are available.

Return Type
String !
Example
dagger -m github.com/papercomputeco/stereOS@3a8b84094bce30c72fa00bd32e86727da5b39da4 call \
 check-devshell
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			StereOS().
			CheckDevshell(ctx)
}
@function
async def example() -> str:
	return await (
		dag.stere_o_s()
		.check_devshell()
	)
@func()
async example(): Promise<string> {
	return dag
		.stereOS()
		.checkDevshell()
}