Re: [Hackage] #158: if os(windows) does not work
#158: if os(windows) does not work +--- Reporter: duncan |Owner: Type: defect | Status: closed Priority: high |Milestone: Cabal-1.2 Component: Cabal library | Version: 1.2.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: easy (4 hours) Ghcversion: 6.4.2 | Platform: Linux +--- Comment(by elga): * [http://www.releve-identite-operateur.fr/numbero-de-virgin-mobile.html virgin mobile] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/158#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel
[Hackage] #158: if os(windows) does not work
#158: if os(windows) does not work --+- Reporter: duncan |Owner: Type: defect | Status: new Priority: high |Milestone: Cabal-1.2 Component: Cabal| Version: 1.2.0 Severity: normal | Keywords: Difficulty: easy (4 hours) | Ghcversion: 6.4.2 Platform: Linux| --+- The {{{os}}} condition currently uses the {{{System.Info.os :: String}}} to check if we're on the OS specified. This is bad and wrong since in GHC at least on Windows this string is {{{mingw32}}}. For configurations it's ok if this works: {{{ if os(mingw32) blah }}} but it's essential that this works: {{{ if os(windows) blah }}} At a bare minimum we should add an alias system, such that we can specify {{{windows}}} and {{{solaris}}} rather than the cryptic {{{mingw32}}} and {{{solaris2}}}. I suggest that comparisons also be case insensetive. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/158 Hackage http://example.com/ My example project___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel
Re: [Hackage] #158: if os(windows) does not work
#158: if os(windows) does not work -+-- Reporter: duncan |Owner: Type: defect | Status: closed Priority: high|Milestone: Cabal-1.2 Component: Cabal | Version: 1.2.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: easy (4 hours) Ghcversion: 6.4.2 | Platform: Linux -+-- Changes (by duncan): * status: new = closed * resolution: = fixed Comment: Fixed in Cabal HEAD. Should get moved to the 1.2 branch soon. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/158#comment:1 Hackage http://example.com/ My example project___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel