[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] build-system: Add haskell-build-system.
From: |
Federico Beffa |
Subject: |
[PATCH] build-system: Add haskell-build-system. |
Date: |
Fri, 27 Mar 2015 09:59:35 +0100 |
Please find attached a build-system for Haskell. Currently focusing on
GHC, but trying to be flexible for addition of support for other
compilers.
Please note that installed libraries need to be registered in a
compiler specific database. The database consists of a directory with
a configuration file for each library and *a single binary cache*
file. To avoid clashes in profiles, the build system does not create
the cache.
To overcome clash problems: at build time the build system creates a
temporary library database to make GHC find input libraries. However,
when a user installs a library in his profile we need to create a
database cache.
I would like to propose to use the same mechanism as used for the
"dir" file of texinfo.
WDYT?
Binary files seems to include absolute path to libraries and do not
require any special handling. This impression comes from inspecting
haddock's derivation created with this build system.
Regards,
Fede
0001-build-system-Add-haskell-build-system.patch
Description: Text Data
- [PATCH] build-system: Add haskell-build-system.,
Federico Beffa <=