sigil/tests/hello.dhall

20 lines
408 B
Plaintext
Raw Normal View History

2021-03-28 15:07:21 +02:00
let Sigil = env:DHALL_SIGIL
2021-03-28 15:07:21 +02:00
let Init = Sigil.Init
let Child = Init.Child
2021-03-28 15:07:21 +02:00
let Libc = Sigil.Libc
2020-11-24 20:24:07 +01:00
in λ(binary : Text) →
Child.flat
Child.Attributes::{
, binary
, exitPropagate = True
2021-03-28 15:07:21 +02:00
, resources = Sigil.Init.Resources::{
, caps = 500
2021-03-28 15:07:21 +02:00
, ram = Sigil.units.MiB 10
}
, config = Libc.toConfig Libc::{ args = [ "hello" ] }
}