git.iko.soy/typeable/entropy
on main help sign in
Update Setup.hs for Cabal 3.14
e95de35Vaibhav Sagar
Setup.hs+4−1
@@ -106,7 +106,10 @@ checkGetentropy cc lbi = do
106 where cArgs = ["-DHAVE_GETENTROPY"]
106 where cArgs = ["-DHAVE_GETENTROPY"]
107
107
108myRawSystemExitCode :: Verbosity -> FilePath -> [String] -> IO ExitCode
108myRawSystemExitCode :: Verbosity -> FilePath -> [String] -> IO ExitCode
109+#if MIN_VERSION_Cabal(3,14,0)
110+myRawSystemExitCode verbosity program arguments =
111+ rawSystemExitCode verbosity Nothing program arguments Nothing
109−#if __GLASGOW_HASKELL__ >= 704
112+#elif __GLASGOW_HASKELL__ >= 704
110-- We know for sure, that if GHC >= 7.4 implies Cabal >= 1.14
113-- We know for sure, that if GHC >= 7.4 implies Cabal >= 1.14
111myRawSystemExitCode = rawSystemExitCode
114myRawSystemExitCode = rawSystemExitCode
112#else
115#else
entropy.cabal+1−1
@@ -47,7 +47,7 @@ Flag DoNotGetEntropy
47 Manual: True
47 Manual: True
48
48
49custom-setup
49custom-setup
50− setup-depends: Cabal >= 1.10 && < 3.13
50+ setup-depends: Cabal >= 1.10 && < 3.15
51 , base < 5
51 , base < 5
52 , filepath < 1.6
52 , filepath < 1.6
53 , directory < 1.4
53 , directory < 1.4