Giter Site home page Giter Site logo

Comments (3)

morganthomas avatar morganthomas commented on May 7, 2024

Chloe Kever (@pinktrink) has been assigned to work on this.

from plutus-apps.

morganthomas avatar morganthomas commented on May 7, 2024

This is still unresolved and nobody is currently working on it as far as I know. For CI, our solution was to run the nix-build and not check the development toolchain for the nix-shell. This is proving to be less than ideal as a solution, because as my Nix expert tells me, nix-shell and nix-build are substantially different environments in this case, and I would agree with this assessment, since the nix-build environment contains all the needed dependencies pulled from the Nix store and the nix-shell environment does not. It is for this reason that I want to test the nix-shell in CI, to ensure that the development toolchain is working, since the nix-build working is not a sufficient condition for the toolchain in the nix-shell to work. This is something we have encountered as an issue in practice. I do not have an efficient solution for testing the nix-shell toolchain in CI and so for now I am not doing it.

from plutus-apps.

ak3n avatar ak3n commented on May 7, 2024

Thanks for the update! And sorry for no replies for so long.

I tried to take a look at it in July and the hypothesis was that plutus-starter uses an outdated commit without proper hydra packages cache which would explain the behaviour as the cache of hydra gets cleaned periodically. But something went wrong (I guess the difference between nix-shell and nix-build) and I had to switch to other tasks.

In general you chose the "right" tactic. Usually people use nix-build for CI as it properly reuses all the dependencies and is designed for reproducible builds. As nix-shell creates an environment that might be less consistent or up-to-date with cabal dependencies. Usually nix-shell development toolchain is tested everytime a developer tries to do something. So it makes less sense to test it on CI.

I hope you don't mind if I will close the issue as it less related to plutus-apps and more about the nix specifics.

from plutus-apps.

Related Issues (20)

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.