Skip to content

Commit

Permalink
stop using deprecated Turtle.fromText
Browse files Browse the repository at this point in the history
  • Loading branch information
msakai committed Dec 28, 2024
1 parent 45dc726 commit 57cf794
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions misc/build_artifacts.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import Turtle
import qualified Control.Foldl as L
import Control.Monad
import qualified Data.Text as T
import Distribution.Package
import Distribution.PackageDescription
import Distribution.PackageDescription.Parsec
Expand Down Expand Up @@ -58,12 +59,12 @@ main = sh $ do
when b $ rmtree pkg

mktree (pkg </> "bin")
let binDir = fromText (lineToText local_install_root) </> "bin"
let binDir = T.unpack (lineToText local_install_root) </> "bin"

Check failure on line 62 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (9.2.8, ubuntu-latest, stack-ghc-9.2.yaml, --flag toysolver:BuildToyFMF --flag toysolver:Bu...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’

Check failure on line 62 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (9.0.2, ubuntu-latest, stack-ghc-9.0.yaml, --flag toysolver:BuildToyFMF --flag toysolver:Bu...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’

Check failure on line 62 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (8.8.4, ubuntu-latest, stack-ghc-8.8.yaml, --flag toysolver:BuildToyFMF --flag toysolver:Bu...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’

Check failure on line 62 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (8.6.3, windows-latest, stack-windows-i386.yaml, --flag toysolver:BuildToyFMF --flag toysol...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’

Check failure on line 62 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (8.10.7, windows-latest, stack-ghc-8.10.yaml, --flag toysolver:BuildToyFMF --flag toysolver...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’
forM exe_files $ \name -> do
cp (binDir </> addExeSuffix name) (pkg </> "bin" </> addExeSuffix name)

mktree (pkg </> "lib")
let libDir = fromText (lineToText local_install_root) </> "lib"
let libDir = T.unpack (lineToText local_install_root) </> "lib"

Check failure on line 67 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (9.2.8, ubuntu-latest, stack-ghc-9.2.yaml, --flag toysolver:BuildToyFMF --flag toysolver:Bu...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’

Check failure on line 67 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (9.0.2, ubuntu-latest, stack-ghc-9.0.yaml, --flag toysolver:BuildToyFMF --flag toysolver:Bu...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’

Check failure on line 67 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (8.8.4, ubuntu-latest, stack-ghc-8.8.yaml, --flag toysolver:BuildToyFMF --flag toysolver:Bu...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’

Check failure on line 67 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (8.6.3, windows-latest, stack-windows-i386.yaml, --flag toysolver:BuildToyFMF --flag toysol...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’

Check failure on line 67 in misc/build_artifacts.hs

View workflow job for this annotation

GitHub Actions / build (8.10.7, windows-latest, stack-ghc-8.10.yaml, --flag toysolver:BuildToyFMF --flag toysolver...

• Couldn't match type ‘[Char]’ with ‘Turtle.FilePath’
when (Info.os == "mingw32") $ do
cp (libDir </> "toysat-ipasir.dll") (pkg </> "bin" </> "toysat-ipasir.dll")
proc "stack"
Expand Down

0 comments on commit 57cf794

Please sign in to comment.