summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/Chroot.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-21 20:53:38 -0400
committerJoey Hess2014-11-21 20:53:38 -0400
commit6cdd37d9ff3ff3e3b8439445c1363b9bdc77a5da (patch)
tree40ffdca8e7edf19ff41342015e595c765734fc60 /src/Propellor/Types/Chroot.hs
parent6c0746b6076bfeb33c2ab268b33aa93e1dab5742 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Types/Chroot.hs')
-rw-r--r--src/Propellor/Types/Chroot.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Propellor/Types/Chroot.hs b/src/Propellor/Types/Chroot.hs
index 7e7c3630..b7ed7807 100644
--- a/src/Propellor/Types/Chroot.hs
+++ b/src/Propellor/Types/Chroot.hs
@@ -17,13 +17,13 @@ instance Monoid (ChrootInfo host) where
}
data ChrootCfg
- = ChrootCfg
+ = NoChrootCfg
| SystemdNspawnCfg [(String, Bool)]
deriving (Show)
instance Monoid ChrootCfg where
- mempty = ChrootCfg
- mappend _ ChrootCfg = ChrootCfg
- mappend ChrootCfg r = r
+ mempty = NoChrootCfg
+ mappend v NoChrootCfg = v
+ mappend NoChrootCfg v = v
mappend (SystemdNspawnCfg l1) (SystemdNspawnCfg l2) =
SystemdNspawnCfg (l1 <> l2)