AC-BuildPlatform: Detect which OS you're running on.
This package lets you easily query various facts about the system that your code is running on. Currently, it reports whether the operating system is "Windows" or "Unix", and also the name and version of the Haskell compiler used.
This package implements lots of complicated trickery to determine the build environment. Once built, other packages can query this information without needing to do complex trickery themselves.
See also the included ReadMe.xhtml file.
Changes:
If the configure step fails to detect the OS type, the configure step now fails.
A new file
Manual.hsallows you to override the auto-detected platform values with whatever you want. (SeeReadMe.xhtmlfor details.)All the platform queries no longer return
Maybevalues. (This breaks API compatibility, hence the version bump.)
Downloads
- AC-BuildPlatform-1.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 1.0.0, 1.1.0 |
|---|---|
| Dependencies | base (>=4 && <5) [details] |
| License | BSD-3-Clause |
| Author | Andrew Coppin |
| Maintainer | MathematicalOrchid@hotmail.com |
| Category | System |
| Uploaded | by AndrewCoppin at 2011-06-08T10:12:03Z |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 2954 total (4 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |