haskell-flake/nix/haskell-parsers
2024-04-22 06:54:17 -04:00
..
test test: Make haskell-parser tests a flake check 2024-02-23 16:01:17 -05:00
default.nix fix(haskell-parsers): accept empty defaults for packages 2024-04-22 06:54:17 -04:00
parser_tests.nix test: Make haskell-parser tests a flake check 2024-02-23 16:01:17 -05:00
parser.nix fix(cabal.project parser): parse the packages ending with eof (#222) 2024-02-06 03:08:48 -05:00
README.md Remove automatic hpack conversion (#148) 2023-04-26 15:01:02 -04:00

haskell-parsers

haskell-parsers provides parsers for Haskell associated files: cabal and cabal.project. It provides:

  • findPackagesInCabalProject: a superior alternative to nixpkgs' haskellPathsInDir.
    • It locates packages based on the "packages" field of cabal.project file if it exists (otherwise it returns the top-level package).
  • getCabalExecutables: a function to extract executables from a .cabal file.

Limitations