Skip to content

Tests are broken inside Nix devshell #7

Description

@luc-tielen
  1. nix build works
  2. cabal configure --enable-tests && cabal test fails inside devshell
  3. nix develop and then running the above command also fails

Cabal seems to want to build ghc first, which is weird? It's not specified anywhere in the cabal file..

Could this be because we updated nixpkgs and are now using Cabal 3.8 instead of 3.6? Looking at the issue list, seems like 3.8 is still kind of buggy?

Need to find a proper solution this so that it avoids building GHC. Plan B is to use Cabal 3.6 for now (but will become a problem again in the future so better to fix it now).

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