summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Sbuild.hs
diff options
context:
space:
mode:
authorSean Whitton2017-11-18 13:08:18 -0700
committerSean Whitton2017-11-18 13:08:18 -0700
commitf5a822272f140612a4f5e01e4b5255bfd3b95dc0 (patch)
treecedf5d16a7a6768a9b4aacda742f5cc3d146156d /src/Propellor/Property/Sbuild.hs
parentd20fd406655e91bad12d3105f47ceee14f72f72b (diff)
resolve TODO regarding suggested Sbuild usage
Diffstat (limited to 'src/Propellor/Property/Sbuild.hs')
-rw-r--r--src/Propellor/Property/Sbuild.hs13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs
index 56abed2d..3063ddd4 100644
--- a/src/Propellor/Property/Sbuild.hs
+++ b/src/Propellor/Property/Sbuild.hs
@@ -21,15 +21,16 @@ stretch, which older sbuild can't handle.
Suggested usage in @config.hs@:
> mybox = host "mybox.example.com" $ props
-> & osDebian Unstable X86_64
+> & osDebian (Stable "stretch") X86_64
> & Apt.useLocalCacher
--- TODO can we use '$' here or do we require more brackets?
-> & Sbuild.built Sbuild.UseCcache $ props
-> & osDebian Unstable X86_32
-> & Sbuild.update `period` Weekly 1
-> & Sbuild.useHostProxy mybox
+> & Sbuild.built Sbuild.UseCcache unstableSchroot
> & Sbuild.usableBy (User "spwhitton")
> & Schroot.overlaysInTmpfs
+> where
+> unstableSchroot = props
+> & osDebian Unstable X86_32
+> & Sbuild.update `period` Weekly (Just 1)
+> & Sbuild.useHostProxy mybox
If you are using sbuild older than 0.70.0, you also need: