aboutsummaryrefslogblamecommitdiffhomepage
path: root/dhall/mkConfig.dhall
blob: d2ec0347a847b7b340873d47530ce0bfcd2ac2a8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                           
 



                               


                               








                                
                     
                         
                     
                                 
                     
                                      
                     

                                  
                         
                           



                      
let Config = ./Config.dhall

let Vault = ./Vault.dhall

let Addon = ./addon/Addon.dhall

in    λ(vault : Vault)
    → λ(app : Text)
    → λ(organization : Text)
    →   { clever_app =
            app
        , clever_orga =
            organization
        , clever_secret =
            vault.secret
        , clever_token =
            vault.token
        , clever_syslog_server =
            None Text
        , clever_domain =
            None Text
        , clever_app_tasks_file =
            None Text
        , clever_haskell_entry_point =
            None Text
        , clever_disable_metrics =
            False
        , clever_addons =
            [] : List Addon
        , clever_env =
            {=}
        }
      : Config {}