If the wrapper itself cooperates, you can also embed more information in the following lines. nix-shell for example allows installing dependencies and any parameters with:
#!/usr/bin/env nix-shell
#!nix-shell --pure -i runghc ./default.nix
... Any Haskell code follows