Skip to content

Commit f991c9e

Browse files
committed
Github CI shell workarounds.
1 parent 35b8c5f commit f991c9e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

_eng_/dev.eng

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,16 @@ dev
2424
Uses nix to build with old GHC versions
2525
in dir = {TopDir}
2626
exec =
27-
declare -a ghcvers=(810 90 92)
28-
nix build --no-link --override-input nixpkgs github:nixos/nixpkgs/25.05 ${ghcvers[@]/#/.#tasty-sugar.ghc}
27+
nix build --no-link --override-input nixpkgs github:nixos/nixpkgs/25.05 $(for X in 810 90 92; do echo .#tasty-sugar.ghc$X; done)
2928
nix build --no-link .#tasty-sugar.ghc94
3029
nixbuild:recent
3130
Uses nix to build with recent GHC versions
3231
in dir = {TopDir}
33-
exec =
34-
declare -a ghcvers=(96 98)
35-
nix build --no-link ${ghcvers[@]/#/.#tasty-sugar.ghc}
32+
exec = nix build --no-link .#tasty-sugar.ghc96 .#tasty-sugar.ghc98
3633
nixbuild
3734
Uses nix to build with current GHC versions
3835
in dir = {TopDir}
39-
exec =
40-
declare -a ghcvers=(910 912)
41-
nix build --no-link ${ghcvers[@]/#/.#tasty-sugar.ghc}
36+
exec = nix build --no-link .#tasty-sugar.ghc910 .#tasty-sugar.ghc912
4237
nixbuild:all =
4338
Uses nix to build with all supported GHC versions =
4439
in dir = {TopDir}

0 commit comments

Comments
 (0)