Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit bf999b5

Browse files
committed
Win32 or not
Signed-off-by: Alexander Diemand <[email protected]>
1 parent 91fc6de commit bf999b5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

cardano-shell.cabal

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ library
5959
, safe-exceptions
6060
, text
6161
, transformers
62-
, unix
6362
-- json & config
6463
, contravariant
6564
, dhall
@@ -68,7 +67,10 @@ library
6867
, QuickCheck
6968
, text
7069
, transformers
71-
, unix
70+
if os(windows)
71+
build-depends: Win32
72+
else
73+
build-depends: unix
7274

7375
default-language: Haskell2010
7476
default-extensions: NoImplicitPrelude
@@ -147,14 +149,18 @@ executable cardano-launcher
147149
, cardano-sl-x509
148150
-- process managment
149151
, process
150-
, unix
151152
-- directory
152153
, directory
153154
, filepath
154155
-- formatting
155156
, formatting
156157
-- exception handling
157158
, safe-exceptions
159+
if os(windows)
160+
build-depends: Win32
161+
else
162+
build-depends: unix
163+
158164
default-language: Haskell2010
159165
default-extensions: NoImplicitPrelude
160166
OverloadedStrings

0 commit comments

Comments
 (0)