Skip to content

hyphenation is painful to deploy #3

@albertov

Description

@albertov

When building an executable which links to hyphenation in one machine for deployment to a different machine I need to create a tree of directories in production mimicking the path where I built the executable in the dev machine and copy the data files to avoid errors in production like: /home/alberto/src/myproject/.cabal-sandbox/share/x86_64-linux-ghc-7.8.3/hyphenation-0.4/hyph-es.chr.txt: openFile: does not exist (No such file or directory)

Ideally I would like to deploy self-contained executables or at least have a configurable data directory.

Perhaps some Template Haskell could embed those data files in the compiled library itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions