From 4a53b158a2b6ca5e64f45058b2e26fe0a0c579e9 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 21 May 2016 20:09:31 +0900 Subject: update Sbuild.hs for new Ccache.hs --- src/Propellor/Property/Ccache.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Propellor/Property/Ccache.hs') diff --git a/src/Propellor/Property/Ccache.hs b/src/Propellor/Property/Ccache.hs index d9b2e458..45208508 100644 --- a/src/Propellor/Property/Ccache.hs +++ b/src/Propellor/Property/Ccache.hs @@ -10,7 +10,7 @@ import Utility.FileMode import System.Posix.Files -- | Limits on the size of a ccache -data CcacheLimit +data Limit -- | The maximum size of the cache, as a string such as "4G" -- -- See ccache(1) for more on the size specification. @@ -33,7 +33,7 @@ data CcacheLimit -- wish to limit both the maximum size of the cache and the maximum number of -- files in the cache. However, setting only one of these two limits is -- generally sufficient. -hasGroupCache :: Group -> CcacheLimit -> RevertableProperty DebianLike UnixLike +hasGroupCache :: Group -> Limit -> RevertableProperty DebianLike UnixLike group@(Group g) `hasGroupCache` limit = (make `requires` installed) delete where make = propertyList ("ccache for " ++ g ++ " exists") $ props -- cgit v1.3-2-g0d8e