Skip to content

An easy way to add external files to Haskell source #400

@srid

Description

@srid

Sometimes, cabal's data-files must come from outside the Git repo, such as from a flake input. To achieve this, normally we:

  1. ln -sf that file or directory in devShell's shellHook, and:
  2. add it to projectRoot so cabal2nix is aware of it.

In action: juspay/vira#17


Can we make this simpler to configure in haskell-flake? If not, at least document this as a workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions