Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nofib test suite requires regex-compat #105

Open
zachsully opened this issue Mar 29, 2021 · 0 comments
Open

Nofib test suite requires regex-compat #105

zachsully opened this issue Mar 29, 2021 · 0 comments

Comments

@zachsully
Copy link

zachsully commented Mar 29, 2021

I was hoping that I could simply do

(hspkgs.shellFor rec {
  packages = pkgset: [ hsdrv hspkgs.regex-compat ];

to accomplish this. However, in doing this only regex-base and regex-posix (i.e. regex-compat deps) were in the ghc-pkg list. Not being very familiar with the haskell-nix infrastructure, I am not sure if this is an issue with your code or in the larger haskell tooling for nix.

Strangely, I was able to add regex-compat to my ghc environment by including a package that has it as a dependency.

  packages = pkgset: [ hsdrv
    hspkgs.aeson-schema # why do I have this here? because it contains
                        # regex-compat as a dependency and for some reason
                        # package dependencies aren't working properly
    ];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant