File tree Expand file tree Collapse file tree 15 files changed +35
-34
lines changed
haskell_module_repl_cross_library_deps_test
stack-snapshot-deps/hs_override_stack_test Expand file tree Collapse file tree 15 files changed +35
-34
lines changed Original file line number Diff line number Diff line change 56
56
bzlmod : false
57
57
# TODO: in a MODULE.bazel file we declare version specific dependencies, would need to use stack snapshot json
58
58
# and stack config per GHC version
59
- - ghc : 9.4.6
59
+ - ghc : 9.2.8
60
60
bzlmod : true
61
61
- ghc : 9.6.2
62
62
bzlmod : true
@@ -149,7 +149,7 @@ jobs:
149
149
exclude :
150
150
# TODO: in a MODULE.bazel file we declare version specific dependencies, would need to use stack snapshot json
151
151
# and stack config per GHC version
152
- - ghc : 9.4.6
152
+ - ghc : 9.2.8
153
153
bzlmod : true
154
154
- ghc : 9.6.2
155
155
bzlmod : true
Original file line number Diff line number Diff line change 1
- test_ghc_version = "9.2.8 "
1
+ test_ghc_version = "9.4.6 "
2
2
test_asterius_version = "0.0.1"
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ rules_haskell_dependencies()
17
17
load ("@rules_haskell//haskell:nixpkgs.bzl" , "haskell_register_ghc_nixpkgs" )
18
18
19
19
haskell_register_ghc_nixpkgs (
20
- attribute_path = "haskell.compiler.ghc928 " ,
20
+ attribute_path = "haskell.compiler.ghc946 " ,
21
21
repository = "@rules_haskell//nixpkgs:default.nix" ,
22
- version = "9.2.8 " ,
22
+ version = "9.4.6 " ,
23
23
)
24
24
25
25
load ("@rules_haskell//haskell:toolchain.bzl" , "rules_haskell_toolchains" )
26
26
27
- rules_haskell_toolchains (version = "9.2.8 " )
27
+ rules_haskell_toolchains (version = "9.4.6 " )
28
28
29
29
load ("@rules_nixpkgs_cc//:cc.bzl" , "nixpkgs_cc_configure" )
30
30
load ("@rules_nixpkgs_python//:python.bzl" , "nixpkgs_python_configure" )
Original file line number Diff line number Diff line change 2
2
# (see stackage.org).
3
3
4
4
# Currently, we are using GHC 9.2.x as default.
5
- DEFAULT_GHC_VERSION = "9.2.8 "
5
+ DEFAULT_GHC_VERSION = "9.4.6 "
Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ nix_haskell_toolchains = use_extension(
42
42
# Declare a default nix-based toolchain
43
43
nix_haskell_toolchains .new (
44
44
attribute_path = "" ,
45
- nix_file_content = """with import <nixpkgs> {}; haskell.packages.ghc928 .ghc""" ,
45
+ nix_file_content = """with import <nixpkgs> {}; haskell.packages.ghc946 .ghc""" ,
46
46
repository = "@nixpkgs_default" ,
47
- version = "9.2.8 " ,
47
+ version = "9.4.6 " ,
48
48
)
49
49
use_repo (
50
50
nix_haskell_toolchains ,
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ haskell_toolchains = use_extension(
250
250
"haskell_toolchains" ,
251
251
)
252
252
253
- test_ghc_version = "9.2.8 "
253
+ test_ghc_version = "9.4.6 "
254
254
255
255
test_ghcopts = [
256
256
"-XStandaloneDeriving" , # Flag used at compile time
@@ -316,12 +316,13 @@ nix_haskell_toolchains = use_extension(
316
316
"@rules_haskell_nix//extensions:nix_haskell_toolchains.bzl" ,
317
317
"nix_haskell_toolchains" ,
318
318
)
319
+
319
320
nix_haskell_toolchains .new (
320
321
attribute_path = "" ,
321
322
cabalopts = test_cabalopts ,
322
323
ghcopts = test_ghcopts ,
323
324
haddock_flags = test_haddock_flags ,
324
- nix_file_content = """with import <nixpkgs> {}; haskell.packages.ghc928 .ghc""" ,
325
+ nix_file_content = """with import <nixpkgs> {}; haskell.packages.ghc946 .ghc""" ,
325
326
repl_ghci_args = test_repl_ghci_args ,
326
327
repository = "@nixpkgs_default" ,
327
328
version = test_ghc_version ,
Original file line number Diff line number Diff line change 1
- { pkgs ? import ./nixpkgs { } , docTools ? true , ghcVersion ? "9.2.8 " } :
1
+ { pkgs ? import ./nixpkgs { } , docTools ? true , ghcVersion ? "9.4.6 " } :
2
2
3
3
with pkgs ;
4
4
mkShell {
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ rules_haskell_dependencies()
15
15
load ("@rules_haskell//haskell:nixpkgs.bzl" , "haskell_register_ghc_nixpkgs" )
16
16
17
17
haskell_register_ghc_nixpkgs (
18
- attribute_path = "haskell.compiler.ghc928 " ,
18
+ attribute_path = "haskell.compiler.ghc946 " ,
19
19
repository = "@rules_haskell//nixpkgs:default.nix" ,
20
- version = "9.2.8 " ,
20
+ version = "9.4.6 " ,
21
21
)
22
22
23
23
load ("@rules_haskell//haskell:toolchain.bzl" , "rules_haskell_toolchains" )
24
24
25
- rules_haskell_toolchains (version = "9.2.8 " )
25
+ rules_haskell_toolchains (version = "9.4.6 " )
26
26
27
27
load (
28
28
"@rules_nixpkgs_core//:nixpkgs.bzl" ,
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ rules_haskell_dependencies()
15
15
load ("@rules_haskell//haskell:nixpkgs.bzl" , "haskell_register_ghc_nixpkgs" )
16
16
17
17
haskell_register_ghc_nixpkgs (
18
- attribute_path = "haskell.compiler.ghc928 " ,
18
+ attribute_path = "haskell.compiler.ghc946 " ,
19
19
repository = "@rules_haskell//nixpkgs:default.nix" ,
20
- version = "9.2.8 " ,
20
+ version = "9.4.6 " ,
21
21
)
22
22
23
23
load ("@rules_haskell//haskell:toolchain.bzl" , "rules_haskell_toolchains" )
24
24
25
- rules_haskell_toolchains (version = "9.2.8 " )
25
+ rules_haskell_toolchains (version = "9.4.6 " )
26
26
27
27
load (
28
28
"@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl" ,
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ rules_haskell_dependencies()
10
10
load ("@rules_haskell//haskell:nixpkgs.bzl" , "haskell_register_ghc_nixpkgs" )
11
11
12
12
haskell_register_ghc_nixpkgs (
13
- attribute_path = "haskell.compiler.ghc928 " ,
13
+ attribute_path = "haskell.compiler.ghc946 " ,
14
14
repository = "@rules_haskell//nixpkgs:default.nix" ,
15
- version = "9.2.8 " ,
15
+ version = "9.4.6 " ,
16
16
)
17
17
18
18
load ("@rules_haskell//haskell:toolchain.bzl" , "rules_haskell_toolchains" )
19
19
20
- rules_haskell_toolchains (version = "9.2.8 " )
20
+ rules_haskell_toolchains (version = "9.4.6 " )
21
21
22
22
load (
23
23
"@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl" ,
You can’t perform that action at this time.
0 commit comments