Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plutus 1.28 #12

Closed
wants to merge 2 commits into from
Closed

Plutus 1.28 #12

wants to merge 2 commits into from

Conversation

Unisay
Copy link
Contributor

@Unisay Unisay commented Jun 3, 2024

I have this problem building dev shell after updating CHaP:

nix develop -L  
warning: Git tree '/home/yura/projects/cardano/plutus-tx-template' is dirty
plutus-tx-template-plan-to-nix-pkgs> Warning: The package list for 'hackage.haskell.org' is 19877 days old.
plutus-tx-template-plan-to-nix-pkgs> Run 'cabal update' to get the latest list of available packages.
plutus-tx-template-plan-to-nix-pkgs> Warning: Requested index-state 2024-06-03T00:00:00Z is newer than
plutus-tx-template-plan-to-nix-pkgs> 'hackage.haskell.org'! Falling back to older state (2024-06-02T23:45:05Z).
plutus-tx-template-plan-to-nix-pkgs> Warning: The package list for 'cardano-haskell-packages' is 19877 days old.
plutus-tx-template-plan-to-nix-pkgs> Run 'cabal update' to get the latest list of available packages.
plutus-tx-template-plan-to-nix-pkgs> Warning: Requested index-state 2024-05-29T00:00:00Z is newer than
plutus-tx-template-plan-to-nix-pkgs> 'cardano-haskell-packages'! Falling back to older state
plutus-tx-template-plan-to-nix-pkgs> (2024-05-24T09:29:56Z).
plutus-tx-template-plan-to-nix-pkgs> Resolving dependencies...
plutus-tx-template-plan-to-nix-pkgs> Writing plan.json to /build/tmp.48QGsuabjx/dist-newstyle/cache/plan.json
plutus-tx-template-plan-to-nix-pkgs> Wrote freeze file to /build/tmp.48QGsuabjx/cabal.project.freeze
plutus-tx-template-plan-to-nix-pkgs> Writing cabal files to /build/tmp.48QGsuabjx/dist-newstyle/cabal-files
plutus-tx-template-plan-to-nix-pkgs> Moving cabal files from /build/tmp.48QGsuabjx/dist-newstyle/cabal-files to /nix/store/xxx3vyh2s30jc6v90ccc39xgb0z1730q-plutus-tx-template-plan-to-nix-pkgs/cabal-files
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:9:12:
            8|
            9|   strict = derivationStrict drvAttrs;
             |            ^
           10|

       … while evaluating derivation 'ghc-shell-for-plutus-tx-template'
         whose name attribute is located at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/pkgs/stdenv/generic/make-derivation.nix:300:7

       … while evaluating attribute 'NIX_GHC_LIBDIR' of derivation 'ghc-shell-for-plutus-tx-template'
         at /nix/store/jlqhijv6r1hj0h3bm5m6byraa0khqmi9-source/builder/shell-for.nix:197:5:
          196|     # the correct global package DB.
          197|     NIX_GHC_LIBDIR = ghcEnv.drv + "/" + configFiles.libDir;
             |     ^
          198|

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Dependency is not of a valid type: element 3 of buildInputs for ghc-9.6.5-setup

this looks like a haskell.nix problem to me. @zeme-wana please advise.

@Unisay Unisay requested a review from zeme-wana June 3, 2024 11:11
@Unisay Unisay self-assigned this Jun 3, 2024
@Unisay
Copy link
Contributor Author

Unisay commented Jun 5, 2024

Closed in favour of #13

@Unisay Unisay closed this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants