Say, I need System.Eval.Haskell
. Or whatever else. How do I know which package I should specify in my package.yaml
? When I go to the https://hackage.haskell.org/package/plugins-1.5.7/docs/System-Eval-Haskell.html, I see no package name.
P.S. "plugins" did not work for me. Thus, I assume it's something different. I hope so :)
Looks like there is somewhat quite unclear difference between extra-dependencies and "regular" dependencies in the configuration. Mentioning plugins-1.5.7
as extra-dep indeed works. Am I doing some dependency mismanagement here, or that's green way to go?
Find a package version in DEB-based systems In Debian, Ubuntu and its derivatives such as Linux Mint, Elementary OS, we can find the installed a package, Say Apache webserver, version using command: $ dpkg -s apache2 | grep -i version
Find-Package finds software packages that are available in package sources. Get-PackageProvider and Get-PackageSource display details about your providers. This command finds all available PowerShell module packages in a registered gallery.
You don’t have to tap on an app to see its package name. The package name for each app is displayed right under its name. It also lets you copy multiple package names at once. The Google Play Store uses an app’s package name in the URL to that app’s Play Store page. You can find it right after id=.
To view the package version and other details, use apk info command like below. You will see the small description of the given package and it's website where it is hosted. As you see, the installed version of Vim is 8.2. To find out an installed package (Eg.
When you view module documentation on hackage, the package name is in the upper left corner:
In this case, it's indeed plugins, version 1.5.7.
When you declare dependencies in your .cabal
file, Stack will attempt to find a version that fits with the Long-Term Support (LTS) collection that you're targeting.
Sometimes, you want to use a different version than the one available in the LTS collection (for example if you want a more recent one), in which case you can define the package, and its specific version, in extra-dependencies.
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