Skip to content

Commit be9963d

Browse files
committed
Update stack tests
1 parent 8699a4c commit be9963d

File tree

19 files changed

+27
-30
lines changed

19 files changed

+27
-30
lines changed

test/coverage-no-libs/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ in recurseIntoAttrs ({
8282
dirExistsEmpty "$pkga_basedir/mix"
8383
dirExists "$pkga_basedir/tix/pkga-0.1.0.0"
8484
dirExists "$project_basedir/tix/all"
85-
'') ([cabalProj] ++ optional (compiler-nix-name == "ghc865") stackProj))}
85+
'') ([cabalProj] ++ optional (compiler-nix-name == "ghc984") stackProj))}
8686
8787
touch $out
8888
'';

test/coverage-no-libs/stack.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-14.13
1+
resolver: lts-23.7
22

33
packages:
4-
- pkga/
4+
- pkga/

test/coverage/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ in recurseIntoAttrs ({
116116
fileExistsNonEmpty "$project_basedir/tix/pkgb-0.1.0.0-inplace/pkgb-0.1.0.0-inplace.tix"
117117
dirExists "$project_basedir/tix/pkgb-test-tests${crossSuffix}-0.1.0.0-check${crossSuffix}"
118118
fileExistsNonEmpty "$project_basedir/tix/pkgb-test-tests${crossSuffix}-0.1.0.0-check${crossSuffix}/tests${exeExt}.tix"
119-
'') ([cabalProj] ++ optional (compiler-nix-name == "ghc865") stackProj))}
119+
'') ([cabalProj] ++ optional (compiler-nix-name == "ghc984") stackProj))}
120120
121121
touch $out
122122
'';

test/coverage/stack.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
resolver: lts-14.13
1+
resolver: lts-23.7
22

33
packages:
44
- pkga/
5-
- pkgb/
5+
- pkgb/

test/fully-static/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ with lib;
1212
let
1313
# Grab the compiler name from stack-to-nix output.
1414
# compiler = (stack-pkgs.extras {}).compiler.nix-name;
15-
compiler = "ghc865"; # fixme
15+
compiler = "ghc984"; # fixme
1616

1717
# IFD stack-to-nix
1818
project = { gpl ? true }: stackProject' {
@@ -31,7 +31,7 @@ let
3131
packagesIntegerSimple = (project { gpl = false; }).hsPkgs;
3232

3333
in recurseIntoAttrs {
34-
meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != "ghc865";
34+
meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != compiler;
3535

3636
ifdInputs = {
3737
stack-nix-gmp = (project { gpl = true; }).stack-nix;

test/fully-static/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-14.13
1+
resolver: lts-23.7
22

33
extra-deps:
44
- pandoc-2.7.3

test/ghc-options/stack.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let
2020

2121
in recurseIntoAttrs {
2222
# This test is somehow broken for ghcjs
23-
meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != "ghc865";
23+
meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != "ghc984";
2424

2525
ifdInputs = {
2626
inherit (project) stack-nix;

test/ghc-options/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-14.13
1+
resolver: lts-23.7
22

33
packages:
44
- .

test/project-flags/stack.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let
1010
packages = project.hsPkgs;
1111

1212
in recurseIntoAttrs {
13-
meta.disabled = compiler-nix-name != "ghc865";
13+
meta.disabled = compiler-nix-name != "ghc984";
1414
ifdInputs = {
1515
inherit (project) stack-nix;
1616
};

test/project-flags/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-14.13
1+
resolver: lts-23.7
22

33
packages:
44
- .

0 commit comments

Comments
 (0)