AC-BuildPlatform: Detect which OS you're running on.

[ bsd3, library, system ] [ Propose Tags ]

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.

Design assumptions:

If these conditions are not met, the package should still build, it's just that all the compile-time constants will come back as Nothing.

See also the included ReadMe.xhtml file.

Versions 1.0.0, 1.1.0
Dependencies base (==4.*) [details]
License BSD-3-Clause
Author Andrew Coppin
Maintainer MathematicalOrchid@hotmail.com
Category System
Uploaded by AndrewCoppin at Wed Jun 1 10:02:34 UTC 2011
Distributions NixOS:1.1.0
Downloads 1448 total (11 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees