
#495: feature request: top-level if statements ----------------------------+----------------------------------------------- Reporter: awick | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: 6.10.1 | Platform: ----------------------------+----------------------------------------------- Comment (by duncan): Is it not enough to do: {{{ executable run-tests if !os(linux) buildable: False main-is: ... ghc-options: ... executable program if !os(foo) buildable: False main-is: ... ghc-options: ... }}} -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/495#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects