SHA256
1
0
forked from pool/ghc-tasty
ghc-tasty/riscv64-unbounded-delays.patch
2023-08-04 17:07:34 +00:00

26 lines
872 B
Diff

From 65da3d6512ee2f8c53d2bbde840456749c5038c8 Mon Sep 17 00:00:00 2001
From: Felix Yan <felixonmars@archlinux.org>
Date: Thu, 22 Jun 2023 08:21:17 +0300
Subject: [PATCH] Don't depend on unbounded-delays for riscv64
64-bit RISC-V should fall into the same case in
https://github.com/UnkindPartition/tasty/pull/344 and should be added
here. Tested locally.
---
core/tasty.cabal | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: tasty-1.4.3/tasty.cabal
===================================================================
--- tasty-1.4.3.orig/tasty.cabal
+++ tasty-1.4.3/tasty.cabal
@@ -68,7 +68,7 @@ library
ansi-terminal >= 0.9
-- No reason to depend on unbounded-delays on 64-bit architecture
- if(!arch(x86_64) && !arch(aarch64))
+ if(!arch(x86_64) && !arch(aarch64) && !arch(riscv64))
build-depends:
unbounded-delays >= 0.1