I've been trying to get the latest version of plutus
on my project but I get the following error message when I run nix-shell
:
error: attribute '8a20664f00d8f396920385947903761a9a897fe0' missing, at /nix/store/przi4l85b1yd1irwss0qnhg1lsw2925k-haskell.nix-src/modules/cabal-project.nix:118:37
In the cabal.project
file, I made the change of the tag from:
-- Plutus revision from 2021/06/11
source-repository-package
type: git
location: https://github.com/input-output-hk/plutus.git
subdir:
freer-extras
playground-common
plutus-core
plutus-contract
plutus-ledger
plutus-ledger-api
plutus-tx
plutus-tx-plugin
plutus-pab
plutus-use-cases
prettyprinter-configurable
quickcheck-dynamic
word-array
tag: plutus-starter-devcontainer/v1.0.6
to the latest plutus
tag, which is currently 8a20664f00d8f396920385947903761a9a897fe0
The line (118) the error refers to in cabal.project.nix
is as follows:
then { location, tag, ...}: config.sha256map.${location}.${tag}
OR
lookupSha256 = mkOption {
type = nullOr unspecified;
default = if config.sha256map != null
then { location, tag, ...}: config.sha256map.${location}.${tag} -- <- Error here
else _: null;
};
Could someone kindly point me in the right direction on how to fetch the latest version from the plutus repo?