Skip to content

Modify flake.nix and flake.lock files to compile a Plutus script having Plutus.V2.Ledger.Api #7444

@Savissy

Description

@Savissy

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

  1. Git clone repo
  2. Run Nix develop
  3. Create a simple validator script that always success
  4. Save in the plutus-tx repo for instance
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions