Skip to content

Commit

Permalink
Add a workaround for plutus-tx-plugin
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lehins committed Dec 11, 2024
1 parent f88be0b commit d0cb5c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit d0cb5c5

Please sign in to comment.