From ae2fdbf72745ac46116c70f8435dacd7c227225f Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 20 May 2024 19:51:34 +0200 Subject: use OsPath instead of FilePath in easy cases this is still far from being supported by most libraries, but does make it possible to remove some uses of String (though most times, there is a conversion back to String later). Note that using the default.nix now only works on nixpkgs-unstable for a bit; using the newer filepath package on stable leads to broken other packages. --- tracktrain.cabal | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tracktrain.cabal') diff --git a/tracktrain.cabal b/tracktrain.cabal index 3c3d72f..45ba246 100644 --- a/tracktrain.cabal +++ b/tracktrain.cabal @@ -15,7 +15,7 @@ extra-source-files: CHANGELOG.md executable tracktrain main-is: Main.hs ghc-options: -threaded -rtsopts - build-depends: base ^>=4.17 + build-depends: base , bytestring ^>= 0.11 , fmt >= 0.6.3.0 , time @@ -33,6 +33,7 @@ executable tracktrain , directory , extra , proto-lens + , filepath >= 1.4.100 hs-source-dirs: app default-language: GHC2021 default-extensions: OverloadedStrings @@ -40,7 +41,7 @@ executable tracktrain library - build-depends: base ^>=4.17 + build-depends: base , gtfs-realtime , zip-archive , cassava >= 0.5.2.0 @@ -96,7 +97,7 @@ library , exceptions , proto-lens , http-media - , filepath + , filepath >= 1.4.100 , monad-control hs-source-dirs: lib exposed-modules: GTFS @@ -127,7 +128,7 @@ library , ViewPatterns library gtfs-realtime - build-depends: base ^>=4.17 + build-depends: base , proto-lens-runtime default-language: Haskell2010 hs-source-dirs: gtfs-realtime -- cgit v1.2.3