summaryrefslogtreecommitdiff
path: root/erebos.cabal
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-06-29 16:39:57 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2024-06-29 17:58:42 +0200
commit414f810c7c1d9aedeaa45e0998537395e7f4a907 (patch)
treed01b84764ecc32843da60ef6bcb5a311e3ef1be7 /erebos.cabal
parent15f7d82c37cb1b0e12a1eade91e0db2e132d4c60 (diff)
Move platform-specific code to separate directory
Diffstat (limited to 'erebos.cabal')
-rw-r--r--erebos.cabal9
1 files changed, 7 insertions, 2 deletions
diff --git a/erebos.cabal b/erebos.cabal
index bc3000d..45e6526 100644
--- a/erebos.cabal
+++ b/erebos.cabal
@@ -1,4 +1,4 @@
-Cabal-Version: 2.2
+Cabal-Version: 3.0
Name: erebos
Version: 0.1.4
@@ -117,6 +117,7 @@ library
other-modules:
Erebos.Flow
Erebos.Storage.List
+ Erebos.Storage.Platform
Erebos.Util
c-sources:
@@ -157,10 +158,14 @@ library
stm >=2.5 && <2.6,
text >= 1.2 && <2.2,
time >= 1.8 && <1.14,
- unix >=2.7 && <2.9,
uuid >=1.3 && <1.4,
zlib >=0.6 && <0.8
+ if true
+ hs-source-dirs: src/unix
+ build-depends:
+ unix ^>= { 2.7, 2.8 },
+
executable erebos
import: common
default-language: Haskell2010