Hallo Joachim. Excerpts from Joachim Breitner's message of Sex Mar 05 19:26:22 -0300 2010: (...) > Am Freitag, den 05.03.2010, 18:58 -0300 schrieb Marco Túlio Gontijo e > Silva: > > > Is it possible to make the transformers package hidden by default? > > > If so, packages built using cabal will still find it and user code > > > can still use transformers by doing -package transformers. > > > > This is a good idea. > > > > I think this can be achieved by including: > > > > install/libghc6-$(CABAL_PACKAGE)-dev:: debian/tmp-inst-ghc6 > > sed -i 's/^exposed: True/exposed: False/' \ > > debian/$(notdir \ > > $@)/var/lib/ghc-$(GHC6_VERSION)/package.conf.d/* > > > > in the end of the debian/rules file. > > I’d like to see such code, if there is a chance that it will be used by > several packages, included in haskell-devscripts. > > I.e., introduce a flag "HASKELL_HIDE_PACKAGES" which can be set in the > packages’ debian/rules, but the actual implementation happens in > hlibrary.mk. > > This allows us to adjust for example the package.conf.d path, and any > other unforseen things, centrally.
Done. Ernesto: don't use that code I sent, but only include in the beginning of debian/rules: HASKELL_HIDE_PACKAGES = True (Actually, anything after = is ok, that's not an empty string) Greetings. (...) -- marcot http://wiki.debian.org/MarcoSilva -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/1267830871-sup-6...@zezinho
