Skip to content

Instantly share code, notes, and snippets.

@jdnavarro
Created September 19, 2015 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdnavarro/69c3b20bc1b47ec603f6 to your computer and use it in GitHub Desktop.
Save jdnavarro/69c3b20bc1b47ec603f6 to your computer and use it in GitHub Desktop.
One liner to find out dynamic libraries being used by current stack package, thanks to int-e on freenode
for i in $(stack exec ghc-pkg -- list --simple-output); do echo $i $(stack exec ghc-pkg -- field $i extra-libraries) done | grep extra-libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment