-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additionally test cabal2nix using GHC 9.4.4
We were also waiting on support in haskell-ci here. In nixpkgs this has been working for a long time. I don't know what the situation is with 9.6.1 at the moment, but I expect some dependencies do not work yet. doctest is disable for >= 9.4. It breaks in a way similar to sol/doctest#327, but I haven't been able to find a workaround.
- Loading branch information
1 parent
e221f5e
commit 1ba9608
Showing
6 changed files
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml | ||
index 7fca651d..c2b799c0 100644 | ||
index 939508f1..6d33cb2f 100644 | ||
--- a/.github/workflows/haskell-ci.yml | ||
+++ b/.github/workflows/haskell-ci.yml | ||
@@ -253,7 +253,7 @@ jobs: | ||
cd ${PKGDIR_language_nix} || false | ||
doctest -i ../../dist-newstyle/build/*/*/cabal2nix-*/build/autogen -XHaskell2010 src | ||
cd ${PKGDIR_distribution_nixpkgs} || false | ||
- doctest -i ../../dist-newstyle/build/*/*/cabal2nix-*/build/autogen -XHaskell2010 src | ||
+ find src -type f -and -not -name 'PackageMap.hs' | xargs doctest -i ../../dist-newstyle/build/*/*/cabal2nix-*/build/autogen -XHaskell2010 | ||
cd ${PKGDIR_hackage_db} || false | ||
doctest -i ../../dist-newstyle/build/*/*/cabal2nix-*/build/autogen -XHaskell2010 src | ||
- name: hlint | ||
@@ -251,7 +251,7 @@ jobs: | ||
if [ $((HCNUMVER < 90400)) -ne 0 ] ; then cd ${PKGDIR_cabal2nix} || false ; fi | ||
if [ $((HCNUMVER < 90400)) -ne 0 ] ; then doctest -i ../../dist-newstyle/build/*/*/cabal2nix-*/build/autogen -XHaskell2010 src ; fi | ||
if [ $((HCNUMVER < 90400)) -ne 0 ] ; then cd ${PKGDIR_distribution_nixpkgs} || false ; fi | ||
- if [ $((HCNUMVER < 90400)) -ne 0 ] ; then doctest -i ../../dist-newstyle/build/*/*/cabal2nix-*/build/autogen -XHaskell2010 src ; fi | ||
+ if [ $((HCNUMVER < 90400)) -ne 0 ] ; then find src -name '*.hs' -and -not -name 'PackageMap.hs' | xargs doctest -i ../../dist-newstyle/build/*/*/cabal2nix-*/build/autogen -XHaskell2010 ; fi | ||
if [ $((HCNUMVER < 90400)) -ne 0 ] ; then cd ${PKGDIR_hackage_db} || false ; fi | ||
if [ $((HCNUMVER < 90400)) -ne 0 ] ; then doctest -i ../../dist-newstyle/build/*/*/cabal2nix-*/build/autogen -XHaskell2010 src ; fi | ||
if [ $((HCNUMVER < 90400)) -ne 0 ] ; then cd ${PKGDIR_language_nix} || false ; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ author: Peter Simons <[email protected]> | |
-- list all contributors: git log --pretty='%an' | sort | uniq | ||
maintainer: sternenseemann <[email protected]> | ||
stability: stable | ||
tested-with: GHC == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.7 | ||
tested-with: GHC == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.7 || == 9.4.4 | ||
category: Distribution, Nix | ||
homepage: https://github.com/nixos/cabal2nix#readme | ||
bug-reports: https://github.com/nixos/cabal2nix/issues | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ license: BSD3 | |
license-file: LICENSE | ||
author: Peter Simons <[email protected]> | ||
maintainer: sternenseemann <[email protected]> | ||
tested-with: GHC == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.7 | ||
tested-with: GHC == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.7 || == 9.4.4 | ||
category: Distribution, Nix | ||
homepage: https://github.com/NixOS/cabal2nix/tree/master/distribution-nixpkgs#readme | ||
bug-reports: https://github.com/NixOS/cabal2nix/issues | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ license: BSD3 | |
license-file: LICENSE | ||
author: Peter Simons, Alexander Altman, Ben James, Kevin Quick | ||
maintainer: Peter Simons <[email protected]> | ||
tested-with: GHC == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.7 | ||
tested-with: GHC == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.7 || == 9.4.4 | ||
category: Distribution | ||
homepage: https://github.com/NixOS/cabal2nix/tree/master/hackage-db#readme | ||
bug-reports: https://github.com/NixOS/cabal2nix/issues | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ license: BSD3 | |
license-file: LICENSE | ||
author: Peter Simons | ||
maintainer: [email protected] | ||
tested-with: GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.7 | ||
tested-with: GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.7, GHC == 9.4.4 | ||
category: Distribution, Language, Nix | ||
homepage: https://github.com/NixOS/cabal2nix/tree/master/language-nix#readme | ||
bug-reports: https://github.com/NixOS/cabal2nix/issues | ||
|