Skip to content

Try getting rid of the dependency on the interpolate package #634

Closed
@sjakobi

Description

@sjakobi

This is a package dependency graph for hnix, produced with stack dot --external | dot -Tpng hnix.png and this stack.yaml:

resolver: lts-16.1
extra-deps:
- hashing-0.1.0.1@sha256:98861f16791946cdf28e3c7a6ee9ac8b72d546d6e33c569c7087ef18253294e7,2816
- hnix-store-core-0.2.0.0@sha256:1c52ed924ca51130e3850d7f793975b98995da0fba57b15a81e73918921e0caf,2651
- monadlist-0.0.2@sha256:978305e3f03dd5f65c673b551124dac0c39a247c2c14d84739ca9a3405fbb63a,904
- ref-tf-0.4.0.2@sha256:69de3550250e0cd69f45d080359cb314a9487c915024349c75b78732bbee9332,1134

hnix

If you look at the right border of the image, you see a dependency chain interpolate -> haskell-src-meta -> haskell-src-exts.

haskell-src-exts is notorious for being undermaintained and taking ages to compile. If we could get rid of interpolate, we could also shed this dependency.

To replace interpolate we could try using neat-interpolation, which would AFAICT incur no additional dependencies. I'm not too familiar with either package, but I know that dhall uses neat-interpolation too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependency updateUpdating and changing dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions