shithub: MicroHs

Download patch

ref: cf0166d6f96c0980cf5c207866c730f6380f2788
parent: 1b555680fc73b174d78e157689171294fdb75b16
author: Lennart Augustsson <lennart@augustsson.net>
date: Mon Oct 7 16:04:19 EDT 2024

Improve cabal file.

--- a/MicroHs.cabal
+++ b/MicroHs.cabal
@@ -39,11 +39,16 @@
       tests/*.ref
 
 data-files:
-      lib/**/*.hs
-      lib/**/*.hs-boot
       src/runtime/*.c
       src/runtime/*.h
 
+-- Cabal doesn't seem to understand this, so it never copies
+-- these files.
+--if impl(ghc)
+--  data-files:
+      lib/**/*.hs
+      lib/**/*.hs-boot
+
 source-repository head
     type:     git
     location: https://github.com/augustss/MicroHs
@@ -110,6 +115,7 @@
                        process      >= 1.6 && < 1.8,
                        directory    >= 1.2 && < 1.5,
                        text         >= 2.0 && < 2.3,
+
 -- Hackage does not accept 'mhs' as a valid Haskell compiler,
 -- so mcabal has a hack to recognize lines that start with
 -- '--MHS' as non-comments.