Coder Social home page Coder Social logo

Comments (4)

dbp avatar dbp commented on July 21, 2024

Hi @peti - how does nix compile the test suite? I only ask because the test suite both builds and runs locally, runs in CI, and presumably has run for other people who have contributed to it.

Does nix need all modules referenced in an other-modules clause for test suites as well? That's obviously important and necessary for the library section, but I've never needed it for executables (like test suites).

I can add other-modules: Utils to the test suite section, but I only want to do that if that will actually resolve the problem (as I can't reproduce the problem, I'm not sure if that's going to do anything, and I don't want to do a pointless release). If you can confirm that nix can build with that change, I'll definitely put out a release. Or if the only easy way to test it is via a minor release, I guess we can do that :)

from hspec-snap.

peti avatar peti commented on July 21, 2024

Hey @dbp, the problem is that the required source files are missing from the release tarball distributed via Hackage. Anyone trying to build the test suite using those sources will run into the errors we've seen on NixOS.

from hspec-snap.

dbp avatar dbp commented on July 21, 2024

Ahh - great. Thanks! I'll fix that shortly.

from hspec-snap.

dbp avatar dbp commented on July 21, 2024

@peti Mixed it up a tiny bit, so 0.3.2.8 is broken (and deprecated), but 0.3.2.9 should fix this problem.

from hspec-snap.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.