diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-06-06 11:09:27 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-06-13 08:51:35 +0200 |
| commit | 22ae8aa1ec8089e9f33159319a259e1f344fb4d1 (patch) | |
| tree | 153c18ac3c9d525595facecc53ce38382777b75f /gnu | |
| parent | 61293436900701290e6bcc100dbfe2ea79c68f2e (diff) | |
gnu: ghc-7: Disable tests.
These require python-2, and the package is used only for bootstrapping.
* gnu/packages/haskell.scm (ghc-7)[native-inputs]: Remove python-2 and
ghostscript.
[arguments]<#:test-target, #:parallel-tests?>: Drop the keywords.
<#:tests?>: Set to #f.
Change-Id: Idf68f2b66ee51456dbb16c10302625681911e5e2
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/haskell.scm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 4a3a9be07bf..d079ad1e9f1 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm | |||
| @@ -933,8 +933,6 @@ interactive environment for the functional language Haskell.") | |||
| 933 | ;; is difficult | 933 | ;; is difficult |
| 934 | gcc-13 | 934 | gcc-13 |
| 935 | perl | 935 | perl |
| 936 | python-2 ; for tests (fails with python-3) | ||
| 937 | ghostscript ; for tests | ||
| 938 | patchelf | 936 | patchelf |
| 939 | ;; GHC is built with GHC. Therefore we need bootstrap binaries. | 937 | ;; GHC is built with GHC. Therefore we need bootstrap binaries. |
| 940 | (if (string-match "x86_64" (or (%current-target-system) (%current-system))) | 938 | (if (string-match "x86_64" (or (%current-target-system) (%current-system))) |
| @@ -942,10 +940,7 @@ interactive environment for the functional language Haskell.") | |||
| 942 | ghc-bootstrap-i686-7.8.4))) | 940 | ghc-bootstrap-i686-7.8.4))) |
| 943 | (arguments | 941 | (arguments |
| 944 | (list | 942 | (list |
| 945 | #:test-target "test" | 943 | #:tests? #f ;require python@2 |
| 946 | ;; We get a smaller number of test failures by disabling parallel test | ||
| 947 | ;; execution. | ||
| 948 | #:parallel-tests? #f | ||
| 949 | 944 | ||
| 950 | ;; Don't pass --build=<triplet>, because the configure script | 945 | ;; Don't pass --build=<triplet>, because the configure script |
| 951 | ;; auto-detects slightly different triplets for --host and --target and | 946 | ;; auto-detects slightly different triplets for --host and --target and |
