Comments (3)
Chloe Kever (@pinktrink) has been assigned to work on this.
from plutus-apps.
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.
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)
- Running the suggested command for evaluating the plutus benchmark fails HOT 1
- plutus-chain-index swagger documentation isn't complete and/or rendering correctly HOT 1
- plutus-use-cases-scripts not working for generating scripts HOT 2
- Missing export method in Ledger Tx
- Error: Dependency on unbuildable library 'gen' from cardano-api HOT 8
- plutus-pab/pab-blockfrost: Blockfrost version incompatible with Preprod environment HOT 1
- missing dependency HOT 3
- fromCardanoTxOutDatum is creating OutputDatumHash but receiving TxOutDatumInTx HOT 1
- Emulator log not working for QuickCheck and Plutus.Contract.Test.ContractModel HOT 1
- Wen inline datum? HOT 1
- The `create-script-context` tool fails with `TextEnvelopeTypeError` HOT 2
- What is the status of plutus-apps? HOT 3
- `plutus-script-utils` is incomparable with `plutus-ledger-api >= 1.2` HOT 1
- State Machine can take benefit of inline datum HOT 1
- create-script-context - Custom redeemer no longer works for PlutusScriptV1 HOT 2
- test
- Serializing Plutus Scripts
- Why doesn't this contract work? HOT 2
- "The second data argument, does not decode to a context" when minting NFT with Mesh HOT 1
- Vesting use case succeeds even if validator is set to True HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plutus-apps.