File tree 2 files changed +6
-0
lines changed 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ library
98
98
, text
99
99
, exceptions >= 0.8 && < 0.11
100
100
, mtl >= 2.2.2 && < 2.4
101
+ , data-default-class >= 0.1.2 && < 0.2
101
102
102
103
hs-source-dirs : src
103
104
ghc-options : -Wall
@@ -134,6 +135,7 @@ test-suite dotenv-test
134
135
, exceptions >= 0.8 && < 0.11
135
136
, hspec-megaparsec >= 2.0 && < 3.0
136
137
, mtl
138
+ , data-default-class >= 0.1.2 && < 0.2
137
139
138
140
build-tools : hspec-discover >= 2.0 && < 3.0
139
141
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ module Configuration.Dotenv.Types
15
15
)
16
16
where
17
17
18
+ import Data.Default.Class
19
+
18
20
-- | Configuration Data Types with extra options for executing dotenv.
19
21
data Config = Config
20
22
{ configPath :: [FilePath ] -- ^ The paths for the .env files
@@ -35,3 +37,5 @@ defaultConfig =
35
37
, configVerbose = False
36
38
, allowDuplicates = True
37
39
}
40
+
41
+ instance Default Config where def = defaultConfig
You can’t perform that action at this time.
0 commit comments