I have the following simple haskell file (with some nix-shell goodness):
#! /usr/bin/env nix-shell
#! nix-shell --pure -i runghc -p ghc
main = putStrLn "🎉"
but when I run it:
❯ ./emoji.hs
?
I also tried the demo code for the emoji package (https://hackage.haskell.org/package/emoji), and it’s the same issue. Am I missing something here? What should I do in order to get emojis printing correctly?