"stack script" and extra-deps

When I use "stack script", how can I specify a package which is not in Stackage? When using a stack.yaml, I can just specify such a package in extra-deps, but I'm not clear how to translate this to "stack script". Thanks, --Patrick

"stack script" does not allow packages outside the snapshot. If you need
extra-deps, you can use "stack runghc" instead.
-harendra
On 7 July 2017 at 18:42, Patrick Pelletier wrote:
When I use "stack script", how can I specify a package which is not in Stackage? When using a stack.yaml, I can just specify such a package in extra-deps, but I'm not clear how to translate this to "stack script".
Thanks,
--Patrick
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
participants (2)
-
Harendra Kumar
-
Patrick Pelletier