Within my project's .cabal file I've got the following under the executable
section:
executable ArchPkgstatsScraper hs-source-dirs: app main-is: Main.hs ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base , ArchPkgStatsScraper , text , conduit , html-conduit , http-conduit , xml-conduit , resourcet , transformers
After I've successfully installed / built the above with stack, how could I check which version of xml-conduit is installed?
html -> click on system information-> login with admin rights -> you can get all details about the installed server.
Stack installs the Stackage libraries in ~/. stack and any project libraries or extra dependencies in a . stack-work directory within each project's directory.
You can use the packageVersion() function to print version information about the loaded packages. To print the version information about R, the OS and attached or loaded packages, use the sessionInfo() function.
In its default configuration, Stack will simply ignore any system GHC installation and use a sandboxed GHC that it has installed itself. You can find these sandboxed GHC installations in the ghc-* directories in the stack path --programs directory.
The command
stack ls dependencies
or for older version of stack:
stack list-dependencies
will list every dependency installed for the current project, along with its version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With