ddssff / cabal-debian

Create a Debianization by examining a .cabal file.
Other
16 stars 10 forks source link

src/Debian/Debianize/Goodies.hs:165:22: No instance for (Show (D.Server -> Int)) #54

Closed juhp closed 8 years ago

juhp commented 8 years ago

When trying to build cabal-debian-4.32.2 in Stackage Nightly:

src/Debian/Debianize/Goodies.hs:165:22:
    No instance for (Show (D.Server -> Int))
      (maybe you haven't applied enough arguments to a function?)
      arising from a use of ‘show’
    In the expression: show D.port
    In the expression:
      ["--base-uri",
       "http://" ++ D.hostname x ++ ":" ++ show (D.port x) ++ "/",
       "--http-port", show D.port]
    In an equation for ‘oldClckwrksServerFlags’:
        oldClckwrksServerFlags x
          = ["--base-uri",
             "http://" ++ D.hostname x ++ ":" ++ show (D.port x) ++ "/",
             "--http-port", ....]
juhp commented 8 years ago

https://github.com/jaspervdj/hakyll/issues/420#issuecomment-215861689