better approach for building distributionupdate
Use cabal include file
This commit is contained in:
parent
a10d3731b8
commit
515d251127
2 changed files with 1 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -253,7 +253,7 @@ hdevtools:
|
|||
distributionupdate:
|
||||
git pull
|
||||
cabal configure
|
||||
ghc --make Build/DistributionUpdate -XPackageImports
|
||||
ghc --make Build/DistributionUpdate -XPackageImports -optP-include -optPdist/build/autogen/cabal_macros.h
|
||||
./Build/DistributionUpdate
|
||||
|
||||
.PHONY: git-annex git-union-merge git-recover-repository tags build-stamp
|
||||
|
|
|
@ -10,11 +10,9 @@
|
|||
module Utility.URI where
|
||||
|
||||
-- Old versions of network lacked an Ord for URI
|
||||
#ifdef VERSION_network
|
||||
#if ! MIN_VERSION_network(2,4,0)
|
||||
import Network.URI
|
||||
|
||||
instance Ord URI where
|
||||
a `compare` b = show a `compare` show b
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue