Skip to content

Commit 27f7dee

Browse files
Alphamoriscdsmith
authored andcommitted
Some minor fixation to solve the dependency issues
1 parent ba97664 commit 27f7dee

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

codeworld-account/codeworld-account.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ library
2626
, bytestring
2727
, directory
2828
, hashable
29-
, sqlite-simple
29+
, sqlite-simple == 0.4.18.0
3030
, text
3131
, transformers
3232
exposed-modules: CodeWorld.Account

codeworld-auth/codeworld-auth.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ library
2121
ghc-options: -W
2222
-Wall
2323
-fwarn-unused-imports
24-
build-depends: aeson
24+
build-depends: aeson < 2.0.0
2525
, base >= 4.7 && < 5
2626
, base64-bytestring
2727
, bytestring
@@ -31,7 +31,7 @@ library
3131
, directory
3232
, filepath
3333
, http-conduit
34-
, jwt >= 0.10.0
34+
, jwt == 0.10.1
3535
, snap-core
3636
, split
3737
, text

codeworld-server/codeworld-server.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Executable codeworld-server
4040
filelock,
4141
filepath,
4242
haskell-src-exts < 1.21,
43-
http-conduit,
43+
http-conduit >= 2.3.0 && < 2.3.9,
4444
lifted-base,
4545
memory,
4646
mtl,

install.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ if [ ! -f $BUILD/progress/system-pkgs ]; then
7676
run . sudo apt-get install -y psmisc
7777

7878
run . sudo apt-get install -y zlib1g-dev
79-
run . sudo apt-get install -y libncurses5{,-dev}
79+
run . sudo apt-get install -y libncurses-dev
8080

8181
# Needed for GHC
8282
run . sudo apt-get install -y make
@@ -86,6 +86,13 @@ if [ ! -f $BUILD/progress/system-pkgs ]; then
8686

8787
# Needed for GHCJS
8888
run . sudo apt-get install -y gnupg
89+
# If there is version depreciation warning for nodejs,
90+
# Feel free to ignore the below two commands and install nodejs manually in root directory
91+
# Install Node 12 -> $nvm install 12.22.12
92+
# Install specific npm version -> $npm install -g [email protected]
93+
# Verify versions
94+
# $node --version Should show v12.22.12
95+
# $npm --version Should show 6.14.16
8996
run --quiet . curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
9097
run . sudo apt-get install -y nodejs
9198

0 commit comments

Comments
 (0)