And Nix flakes also allow faster shells thanks to evaluation cache. Edit: Not sure if it can be used in shebang, cannot find a reference now.
But yours adds extra convenience of handling Haskell dependencies more simply.
Most of the time I start in bash, thinking the task won’t be too complicated… but then before I know it I’m having to reread the bash man pages to figure out how arrays work for the thousandth time.
This is too real