sigil/tests/hello.dhall

22 lines
486 B
Plaintext
Raw Normal View History

2021-04-21 09:59:27 +02:00
let Sigil =
env:DHALL_SIGIL
? https://git.sr.ht/~ehmry/dhall-sigil/blob/trunk/package.dhall
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
2022-04-24 08:35:10 +02:00
, 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" ] }
}