File tree 18 files changed +81
-23
lines changed
tests/bzlmod_runfiles/other_module
18 files changed +81
-23
lines changed Original file line number Diff line number Diff line change 97
97
build --config=$BUILD_CONFIG
98
98
common --enable_bzlmod=${{ matrix.bzlmod }}
99
99
EOF
100
- cp .bazelrc.local rules_haskell_nix
101
- cp .bazelrc.local rules_haskell_tests
102
100
- name : Build & test - rules_haskell
103
101
if : matrix.module == 'rules_haskell'
104
102
uses : tweag/run-nix-shell@v0
@@ -208,7 +206,6 @@ jobs:
208
206
$bzlmod_cache_silo_key
209
207
common --enable_bzlmod=${{ matrix.bzlmod }}
210
208
EOF
211
- cp .bazelrc.local rules_haskell_tests
212
209
- name : Build & test - rules_haskell
213
210
if : matrix.module == 'rules_haskell'
214
211
shell : bash
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import %workspace%/../.bazelrc.common
2
+ import %workspace%/../.bazelrc.bzlmod
3
+
4
+ # Remote Cache Authentication
5
+ # ---------------------------
6
+ try-import %workspace%/../.bazelrc.auth
7
+
8
+ # User Configuration
9
+ # ------------------
10
+ try-import %workspace%/../.bazelrc.local
Original file line number Diff line number Diff line change
1
+ # Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977
2
+ common --noenable_bzlmod
3
+
1
4
common:bzlmod --enable_bzlmod
2
- common:common --registry=file://%workspace%/../registry --registry=https://bcr.bazel.build
5
+ # Note, have to use /// to make Bazel not crash on Windows
6
+ common:common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build
7
+
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import %workspace%/../../.bazelrc.common
2
+ import %workspace%/../../.bazelrc.bzlmod
3
+
4
+ # Remote Cache Authentication
5
+ # ---------------------------
6
+ try-import %workspace%/../../.bazelrc.auth
7
+
8
+ # User Configuration
9
+ # ------------------
10
+ try-import %workspace%/../../.bazelrc.local
Original file line number Diff line number Diff line change 1
- common:bzlmod --experimental_enable_bzlmod
2
- common:bzlmod --registry=file://%workspace%/../../registry --registry=https://bcr.bazel.build
1
+ # Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977
2
+ common --noenable_bzlmod
3
+
4
+ common:bzlmod --enable_bzlmod
5
+ # Note, have to use /// to make Bazel not crash on Windows
6
+ common:common --registry=file:///%workspace%/../../registry --registry=https://bcr.bazel.build
7
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import %workspace%/../.bazelrc.common
2
- import %workspace%/.bazelrc.bzlmod
2
+ import %workspace%/../.bazelrc.bzlmod
3
+
4
+ # Remote Cache Authentication
5
+ # ---------------------------
6
+ try-import %workspace%/../.bazelrc.auth
3
7
4
8
# User Configuration
5
9
# ------------------
6
- try-import %workspace%/.bazelrc.local
10
+ try-import %workspace%/../. bazelrc.local
Original file line number Diff line number Diff line change 1
- common:bzlmod --enable_bzlmod
1
+ # Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977
2
+ common --noenable_bzlmod
2
3
4
+ common:bzlmod --enable_bzlmod
3
5
# Note, have to use /// to make Bazel not crash on Windows
4
6
common:common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build
7
+
Original file line number Diff line number Diff line change 1
1
import %workspace%/../.bazelrc.common
2
- import %workspace%/.bazelrc.bzlmod
2
+ import %workspace%/../.bazelrc.bzlmod
3
+
4
+ # Remote Cache Authentication
5
+ # ---------------------------
6
+ try-import %workspace%/../.bazelrc.auth
3
7
4
8
# User Configuration
5
9
# ------------------
6
- try-import %workspace%/.bazelrc.local
10
+ try-import %workspace%/../. bazelrc.local
Original file line number Diff line number Diff line change 2
2
common --noenable_bzlmod
3
3
4
4
common:bzlmod --enable_bzlmod
5
-
6
5
# Note, have to use /// to make Bazel not crash on Windows
7
6
common:common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build
7
+
Original file line number Diff line number Diff line change 1
1
import %workspace%/../../../../.bazelrc.common
2
2
import %workspace%/.bazelrc.bzlmod
3
+
4
+ # Remote Cache Authentication
5
+ # ---------------------------
6
+ try-import %workspace%/../../../../.bazelrc.auth
7
+
8
+ # User Configuration
9
+ # ------------------
10
+ try-import %workspace%/../../../../.bazelrc.local
Original file line number Diff line number Diff line change 1
- common:bzlmod --experimental_enable_bzlmod
2
- common:bzlmod --registry=file:%workspace%/../../../../registry --registry=https://bcr.bazel.build
1
+ # Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977
2
+ common --noenable_bzlmod
3
+
4
+ common:bzlmod --enable_bzlmod
5
+ # Note, have to use /// to make Bazel not crash on Windows
6
+ common:common --registry=file:///%workspace%/../../../../registry --registry=https://bcr.bazel.build
7
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import %workspace%/../.bazelrc.common
2
+ import %workspace%/../.bazelrc.bzlmod
3
+
4
+ # Remote Cache Authentication
5
+ # ---------------------------
6
+ try-import %workspace%/../.bazelrc.auth
7
+
8
+ # User Configuration
9
+ # ------------------
10
+ try-import %workspace%/../.bazelrc.local
Original file line number Diff line number Diff line change
1
+ # Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977
2
+ common --noenable_bzlmod
3
+
1
4
common:bzlmod --enable_bzlmod
2
- common:common --registry=file://%workspace%/../registry --registry=https://bcr.bazel.build
5
+ # Note, have to use /// to make Bazel not crash on Windows
6
+ common:common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build
7
+
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments