Created
September 19, 2015 11:25
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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