On Sun, Oct 2, 2016 at 6:21 AM, Ricardo Wurmus <rek...@elephly.net> wrote: >> That sounds great! Just to be sure: you are saying that if you install >> any library (call it A) and the GHC compiler into your profile then you >> are able to compile your program (making use of library A) without >> also having to manually install any input of library A? > > This seems to be the case. Here is an example ghci session in which I’m > using “ghc-pandoc” as a library without having to install any of the > numerous inputs to “ghc-pandoc” (and their inputs): > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ./pre-inst-env guix environment --ad-hoc ghc ghc-pandoc > […] > rekado in guix-wip [env]: ghci > GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help > Prelude> import Text.Pandoc > Prelude Text.Pandoc> readMarkdown def "Hello" > Right (Pandoc (Meta {unMeta = fromList []}) [Para [Str "Hello"]]) > Prelude Text.Pandoc> :q > Leaving GHCi. > rekado in guix-wip [env]: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nice. Thanks for checking.