Skip to content

Commit

Permalink
Merge pull request #5224 from neduard/merged-ghc-upgrade-try-2
Browse files Browse the repository at this point in the history
  • Loading branch information
aryairani authored Jul 15, 2024
2 parents b65836b + 4e44b94 commit 7019595
Show file tree
Hide file tree
Showing 102 changed files with 510 additions and 511 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bundle-ucm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:

- name: install stack
uses: unisonweb/actions/stack/install@main
with:
stack-version: 2.15.5

- name: build
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:
- name: install stack
if: steps.cache-ucm-binaries.outputs.cache-hit != 'true'
uses: unisonweb/actions/stack/install@main
with:
stack-version: 2.15.5

# Build deps, then build local code. Splitting it into two steps just allows us to see how much time each step
# takes.
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/haddocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:

- name: install stack
uses: unisonweb/actions/stack/install@main
with:
stack-version: 2.15.5

- name: build with haddocks
working-directory: unison
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nix-dev-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
name: unison
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: build all packages and development shells
run: nix -L build --accept-flake-config --no-link --keep-going '.#build-tools'
run: nix -L build --accept-flake-config --no-link --keep-going '.#all'
2 changes: 2 additions & 0 deletions .github/workflows/update-transcripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

- name: install stack
uses: unisonweb/actions/stack/install@main
with:
stack-version: 2.15.5

# One of the transcripts fails if the user's git name hasn't been set.
- name: set git user info
Expand Down
2 changes: 1 addition & 1 deletion codebase2/util-serialization/U/Util/Serialization.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

module U.Util.Serialization where

import Control.Applicative (Applicative (liftA2), liftA3)
import Control.Applicative (liftA3)
import Control.Monad (foldM, replicateM, replicateM_, when)
import Data.Bits (Bits, clearBit, setBit, shiftL, shiftR, testBit, (.|.))
import Data.ByteString (ByteString, readFile, writeFile)
Expand Down
15 changes: 11 additions & 4 deletions contrib/cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ packages:
parser-typechecker
unison-core
unison-cli
unison-cli-main
unison-hashing-v2
unison-merge
unison-share-api
unison-share-projects-api
unison-syntax
Expand All @@ -45,10 +47,12 @@ source-repository-package
tag: 9275eea7982dabbf47be2ba078ced669ae7ef3d5

constraints:
fsnotify < 0.4,
crypton-x509-store <= 1.6.8,
servant <= 0.19.1,
optparse-applicative <= 0.17.1.0
lsp == 2.3.0.0,
fsnotify == 0.4.1.0,
crypton-x509-store == 1.6.9,
servant == 0.20.1,
optparse-applicative == 0.18.1.0,
tls == 1.8.0

-- For now there is no way to apply ghc-options for all local packages
-- See https://cabal.readthedocs.io/en/latest/cabal-project.html#package-configuration-options
Expand Down Expand Up @@ -127,6 +131,9 @@ package unison-core
package unison-hashing-v2
ghc-options: -Wall -Werror -Wno-name-shadowing -Wno-type-defaults -Wno-missing-pattern-synonym-signatures -fprint-expanded-synonyms -fwrite-ide-info

package unison-merge
ghc-options: -Wall -Werror -Wno-name-shadowing -Wno-type-defaults -Wno-missing-pattern-synonym-signatures -fprint-expanded-synonyms -fwrite-ide-info

package unison-share-api
ghc-options: -Wall -Werror -Wno-name-shadowing -Wno-type-defaults -Wno-missing-pattern-synonym-signatures -fprint-expanded-synonyms -fwrite-ide-info

Expand Down
Loading

0 comments on commit 7019595

Please sign in to comment.