Ticket #253 (closed enhancement: fixed)
Check for invalid operating system names
|Reported by:||duncan||Owned by:|
|Cc:||Difficulty:||easy (<4 hours)|
Some packages (eg hslogger-1.0.4) have incorrect operation system names tests:
if !os(win32) Build-Depends: unix
It's incorrect because there is no such operating system "win32", there is "windows" which is an alias for "mingw32".
So we should check for these problems. At the moment the OS is just a String . We should decide if we want to use an enumeration or leave it more flexible and just warn about unknown ones.
Checks are easy to add, see Distribution/PackageDescription/Check.hs