aboutsummaryrefslogtreecommitdiff
path: root/tracktrain.cabal
diff options
context:
space:
mode:
authorstuebinm2024-05-20 19:51:34 +0200
committerstuebinm2024-05-20 19:51:34 +0200
commitae2fdbf72745ac46116c70f8435dacd7c227225f (patch)
treef0a7056b039b35ced716156d2cd6f04798a7bde4 /tracktrain.cabal
parent82355e81aa9a3fd7a38f902dc749d4835270ab21 (diff)
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.
Diffstat (limited to '')
-rw-r--r--tracktrain.cabal9
1 files changed, 5 insertions, 4 deletions
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