diff --git a/.gitignore b/.gitignore index 19e3c33..b12c06d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ dist cabal.sandbox.config .stack-work tags +dist-newstyle +stack.yaml.lock \ No newline at end of file diff --git a/src/Turtle/Prelude.hs b/src/Turtle/Prelude.hs index 384fcb4..df49b91 100644 --- a/src/Turtle/Prelude.hs +++ b/src/Turtle/Prelude.hs @@ -1237,7 +1237,7 @@ touch file = do Nothing (creationTime, _, _) <- Win32.getFileTime handle systemTime <- Win32.getSystemTimeAsFileTime - Win32.setFileTime handle creationTime systemTime systemTime + Win32.setFileTime handle (Just creationTime) (Just systemTime) (Just systemTime) #else then touchFile (Filesystem.encodeString file) #endif diff --git a/stack.yaml b/stack.yaml index 6264e40..fe950b4 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,3 +1 @@ -resolver: lts-7.24 -extra-deps: -- optparse-applicative-0.13.0.0 +resolver: lts-19.5 \ No newline at end of file diff --git a/turtle.cabal b/turtle.cabal index 693a43a..8137fce 100644 --- a/turtle.cabal +++ b/turtle.cabal @@ -42,7 +42,7 @@ Category: System Tested-With: GHC == 9.2.1 - GHC == 9.0.1 + GHC == 9.0.2 GHC == 8.10.7 GHC == 8.8.4 GHC == 8.6.5 @@ -85,7 +85,7 @@ Library optional-args >= 1.0 && < 2.0 , unix-compat >= 0.4 && < 0.6 if os(windows) - Build-Depends: Win32 >= 2.2.0.1 && < 2.9 + Build-Depends: Win32 >= 2.12 else Build-Depends: unix >= 2.5.1.0 && < 2.8