summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Sbuild.hs
diff options
context:
space:
mode:
authorSean Whitton2016-05-20 05:56:21 +0900
committerSean Whitton2016-05-20 05:56:21 +0900
commit7bf451618e49e68bce7e9b6a75f09e3e5943df5e (patch)
tree4e80974c46d6875e38d632e8dbf3b92898683cd0 /src/Propellor/Property/Sbuild.hs
parente603748f9752bbef2eb1a1bd82a36f3afda0986d (diff)
show instance for SbuildSchroot
Diffstat (limited to 'src/Propellor/Property/Sbuild.hs')
-rw-r--r--src/Propellor/Property/Sbuild.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs
index 8c507bd8..cb19d525 100644
--- a/src/Propellor/Property/Sbuild.hs
+++ b/src/Propellor/Property/Sbuild.hs
@@ -77,6 +77,9 @@ type Suite = String
-- the same suite and the same architecture, so neither do we
data SbuildSchroot = SbuildSchroot Suite Architecture
+instance Show SbuildSchroot where
+ show (SbuildSchroot suite arch) = suite ++ "-" ++ arch
+
-- | Build and configure a schroot for use with sbuild using a distribution's
-- standard mirror
--