Skip to content

Commit

Permalink
Add a workaround the fact plutus-tx-plugin is "special"
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Oct 31, 2024
1 parent 3f163c7 commit 890a734
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
'';

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 = ''
export LANG=en_US.UTF-8
Expand Down

0 comments on commit 890a734

Please sign in to comment.