From e8b1adba0ab944e0a99bf9fd2638cfb36fdff0f9 Mon Sep 17 00:00:00 2001 From: Alexey Kuleshevich Date: Tue, 10 Dec 2024 18:41:38 -0700 Subject: [PATCH] Add a workaround for `plutus-tx-plugin` Looks like `plutus-tx-plugin` depends on `ghc` package and it seems that new dependencies brought in with `cardano-crypto-class-2.2` create a conflict due to `stm` version used with `ghc-9.6` being incompatible. --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 31da7fb4e46..7519fde55fa 100644 --- a/flake.nix +++ b/flake.nix @@ -80,6 +80,8 @@ ''; shell = { + # Due to plutus-tx-plugin being a bit special, we need to augment the default package selection. + packages = ps: builtins.attrValues (nixpkgs.haskell-nix.haskellLib.selectLocalPackages ps) ++ [ps.plutus-tx-plugin]; # force LANG to be UTF-8, otherwise GHC might choke on UTF encoded data. shellHook = ''