Skip to content

Commit

Permalink
Some minor fixation to solve the dependency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphamoris authored and cdsmith committed Feb 16, 2025
1 parent ba97664 commit 27f7dee
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion codeworld-account/codeworld-account.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ library
, bytestring
, directory
, hashable
, sqlite-simple
, sqlite-simple == 0.4.18.0
, text
, transformers
exposed-modules: CodeWorld.Account
Expand Down
4 changes: 2 additions & 2 deletions codeworld-auth/codeworld-auth.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ library
ghc-options: -W
-Wall
-fwarn-unused-imports
build-depends: aeson
build-depends: aeson < 2.0.0
, base >= 4.7 && < 5
, base64-bytestring
, bytestring
Expand All @@ -31,7 +31,7 @@ library
, directory
, filepath
, http-conduit
, jwt >= 0.10.0
, jwt == 0.10.1
, snap-core
, split
, text
Expand Down
2 changes: 1 addition & 1 deletion codeworld-server/codeworld-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Executable codeworld-server
filelock,
filepath,
haskell-src-exts < 1.21,
http-conduit,
http-conduit >= 2.3.0 && < 2.3.9,
lifted-base,
memory,
mtl,
Expand Down
9 changes: 8 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ if [ ! -f $BUILD/progress/system-pkgs ]; then
run . sudo apt-get install -y psmisc

run . sudo apt-get install -y zlib1g-dev
run . sudo apt-get install -y libncurses5{,-dev}
run . sudo apt-get install -y libncurses-dev

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

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

Expand Down

0 comments on commit 27f7dee

Please sign in to comment.