summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Mount.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Mount.hs')
-rw-r--r--src/Propellor/Property/Mount.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Propellor/Property/Mount.hs b/src/Propellor/Property/Mount.hs
index 71f1733e..53129f50 100644
--- a/src/Propellor/Property/Mount.hs
+++ b/src/Propellor/Property/Mount.hs
@@ -10,6 +10,7 @@ import Propellor.Base
import Utility.Path
import Data.List
+import qualified Data.Semigroup as Sem
-- | type of filesystem to mount ("auto" to autodetect)
type FsType = String
@@ -24,7 +25,7 @@ type MountPoint = FilePath
--
-- For default mount options, use `mempty`.
newtype MountOpts = MountOpts [String]
- deriving Monoid
+ deriving (Sem.Semigroup, Monoid)
class ToMountOpts a where
toMountOpts :: a -> MountOpts