aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.yaml1
-rw-r--r--src/Build.hs6
2 files changed, 1 insertions, 6 deletions
diff --git a/package.yaml b/package.yaml
index 7cf11c6..ece47c9 100644
--- a/package.yaml
+++ b/package.yaml
@@ -25,7 +25,6 @@ dependencies:
- directory
- extra
- filepath
-- MissingH
- optparse-applicative
- process
- shake
diff --git a/src/Build.hs b/src/Build.hs
index 96b58ab..ce1f161 100644
--- a/src/Build.hs
+++ b/src/Build.hs
@@ -15,7 +15,6 @@ import Data.Char ( isAsciiLower
import Data.List ( intercalate
, isSuffixOf
)
-import Data.List.Utils (replace)
import qualified Data.Map as Map
import Data.Maybe ( fromMaybe
, mapMaybe
@@ -386,7 +385,7 @@ buildWithScript script projectDirectory buildDirectory compiler flags libraryNam
absoluteLibraryDirectories <- mapM makeAbsolute otherLibraryDirectories
setEnv "FC" compiler
setEnv "FFLAGS" (intercalate " " flags)
- setEnv "BUILD_DIR" (escapeColon absoluteBuildDirectory)
+ setEnv "BUILD_DIR" absoluteBuildDirectory
setEnv "INCLUDE_DIRS" (intercalate " " absoluteLibraryDirectories)
let archiveFile = absoluteBuildDirectory </> "lib" ++ libraryName <.> "a"
withCurrentDirectory
@@ -402,6 +401,3 @@ isMakefile script | script == "Makefile" = True
| script == "makefile" = True
| ".mk" `isSuffixOf` script = True
| otherwise = False
-
-escapeColon :: String -> String
-escapeColon = replace ":" "\\:"