Skip to content

Commit c9607b9

Browse files
committed
update ghc version
1 parent 10ae69f commit c9607b9

File tree

3 files changed

+12
-34
lines changed

3 files changed

+12
-34
lines changed

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
hPkgs.ghc # GHC compiler in the desired version (will be available on PATH)
2424
pkgs.zlib # External C library needed by some Haskell packages
2525
pkgs.libff
26+
pkgs.git
2627
pkgs.secp256k1
2728
stack-wrapped
2829
(solc.mkDefault pkgs pkgs.solc_0_8_26)

stack.yaml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# resolver: ./custom-snapshot.yaml
1919
# resolver: https://example.com/snapshots/2018-01-01.yaml
20-
resolver: lts-21.0
20+
resolver: lts-22.0
2121

2222
# User packages to be built.
2323
# Various formats can be used as shown in the example below.
@@ -35,29 +35,10 @@ packages:
3535
# forks / in-progress versions pinned to a git hash. For example:
3636
#
3737
extra-deps:
38-
- monad-bayes-1.2.0@sha256:bf83cf8e6d163c461b9964dbff48d4476b2a82421962af317b3a3d0d738ea2a2,6456
38+
- monad-bayes-1.3.0.4@sha256:101a60697c2bf0fae60157284bb8127e6a84e37c82c562cd7a262b50a34f3b5d,6650
3939
- vector-sized-1.5.0@sha256:1c85b70dbfe6fbdcc58d2706c626e6e38d1900276bbb6f1ba6cfee83941f45e6,1836
4040
- poly-0.5.1.0@sha256:8c574f017913982fd70567545bec423823ff5bdf236c19d1443f3af47e0218ba,3418
4141

42-
43-
# - HSH-2.1.3@sha256:71ded11b224f5066373ce985ec63b10c87129850b33916736dd64fa2bea9ea0a,1705
44-
# - restless-git-0.7@sha256:346a5775a586f07ecb291036a8d3016c3484ccdc188b574bcdec0a82c12db293,968
45-
# - s-cargot-0.1.4.0@sha256:61ea1833fbb4c80d93577144870e449d2007d311c34d74252850bb48aa8c31fb,3525
46-
# - semver-range-0.2.8@sha256:44918080c220cf67b6e7c8ad16f01f3cfe1ac69d4f72e528e84d566348bb23c3,1941
47-
# - probability-0.2.7@sha256:3e9fe130af3bd75e791e1add902eb2caab170cc95373281c0a9626b01fc3b104,2869
48-
# - splitmix-0.1
49-
# - mwc-random-0.15.0.2
50-
# - monad-bayes-1.1.0
51-
# - smt2-parser-0.1.0.1
52-
# - spawn-0.3
53-
# - spool-0.1
54-
# - git: https://github.com/ethereum/hevm
55-
# commit: c5e40507c35e6f2119aeb5f0740dc3564100ebdc
56-
# - git: https://github.com/ethereum/act.git
57-
# subdirs:
58-
# - src
59-
# commit: 52e99daf3121a4e6a6cb28255e862cf8e83cf4cd
60-
6142
allow-newer: true
6243

6344
# - acme-missiles-0.3
@@ -79,7 +60,7 @@ allow-newer: true
7960
#
8061
# Override the architecture used by stack, especially useful on Windows
8162
# Change to x86_64 for Intel and aarch64 for ARM/apple silicon
82-
arch: x86_64
63+
arch: aarch64
8364
#
8465
# Extra directories used by stack for building
8566
# extra-include-dirs: [/path/to/dir]
@@ -90,7 +71,3 @@ arch: x86_64
9071
#
9172
ghc-options:
9273
"$locals": -fwarn-incomplete-patterns
93-
nix:
94-
enable: true
95-
packages: [libff, secp256k1, zlib, solc]
96-

stack.yaml.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
packages:
77
- completed:
8-
hackage: monad-bayes-1.2.0@sha256:bf83cf8e6d163c461b9964dbff48d4476b2a82421962af317b3a3d0d738ea2a2,6456
8+
hackage: monad-bayes-1.3.0.4@sha256:101a60697c2bf0fae60157284bb8127e6a84e37c82c562cd7a262b50a34f3b5d,6650
99
pantry-tree:
10-
sha256: ce4a9db9888b589ae56493862ae62f2efb5af8d17d3d55bac0b3f59177881b2b
11-
size: 3823
10+
sha256: 2d9102c645cd43c5144f3a02873e841d0be2f70748dca7091a578ae909ed22af
11+
size: 4852
1212
original:
13-
hackage: monad-bayes-1.2.0@sha256:bf83cf8e6d163c461b9964dbff48d4476b2a82421962af317b3a3d0d738ea2a2,6456
13+
hackage: monad-bayes-1.3.0.4@sha256:101a60697c2bf0fae60157284bb8127e6a84e37c82c562cd7a262b50a34f3b5d,6650
1414
- completed:
1515
hackage: vector-sized-1.5.0@sha256:1c85b70dbfe6fbdcc58d2706c626e6e38d1900276bbb6f1ba6cfee83941f45e6,1836
1616
pantry-tree:
@@ -27,7 +27,7 @@ packages:
2727
hackage: poly-0.5.1.0@sha256:8c574f017913982fd70567545bec423823ff5bdf236c19d1443f3af47e0218ba,3418
2828
snapshots:
2929
- completed:
30-
sha256: 1867d84255dff8c87373f5dd03e5a5cb1c10a99587e26c8793e750c54e83ffdc
31-
size: 639139
32-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/0.yaml
33-
original: lts-21.0
30+
sha256: e176944bc843f740e05242fa7a66ca1f440c127e425254f7f1257f9b19add23f
31+
size: 712153
32+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/0.yaml
33+
original: lts-22.0

0 commit comments

Comments
 (0)