Looks like maybe you entered a shell with the dependencies for hspec, rather than for gitlib-libgit2? At any rate, this works for me:
$ hub clone jwiegley/gitlib $ cd gitlib/gitlib-libgit2/ $ nix-shell '<nixpkgs>' -A haskellngPackages.gitlib-libgit2.env $ history $ ghc --make Setup.hs $ ./Setup configure $ ./Setup build On 2015-02-05 at 20:51, John Wiegley <[email protected]> wrote: >>>>>> Peter Simons <[email protected]> writes: > >> 2) For recent Hackage packages, you can do that without using cabal2nix, >> even, >> by running: > >> $ nix-shell '<nixpkgs>' -A haskellngPackages.hspec.env > > I think I'm missing some bit of special sauce, because when I run these > commands, `./Setup configure reports that several of the dependencies are > missing: > > --8<---------------cut here---------------start------------->8--- > ghc784:[johnw@Vulcan:~/src/gitlib/gitlib-libgit2]$ > nix-shell '<nixpkgs>' -A haskellngPackages.hspec.env > > \[\][nix-shell:~/src/gitlib/gitlib-libgit2]$\[\] ./Setup configure > Configuring gitlib-libgit2-3.1.0.2... > Setup: At least the following dependencies are missing: > gitlib >=3.0.0, > hlibgit2 >=0.18.0.11, > missing-foreign >=0.1.1, > monad-control <1.0, > monad-logger >=0.3.4.1, > stm-conduit >=2.3.0, > text-icu >=0.6.3 > --8<---------------cut here---------------end--------------->8--- > > Also, would it be much work to get the hoogleLocal expression working within > the NG framework? > > John > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
