Summary
I tried compiling a simple Plutus script using the provided nix shell environment but fails to compile due to errors of not being able to find the Plutus.V2.Ledger.Api module, which was used in the simple Plutus script.
Steps to reproduce the behavior
- Git clone repo
- Run Nix develop
- Create a simple validator script that always success
- Save in the plutus-tx repo for instance
- Run cabal repl plutus-tx
Actual Result
Plutus.V2.Ledger.Api module not found
Expected Result
Module loaded
Describe the approach you would take to fix this
Replace the flake.nix, flake.lock files to set up a more effective nix shell environment that effectively compiles all Plutus modules
System info
Demeter