Hi Kirill,

 > nix-shell '<nixpkgs>' -A haskell-ng.compiler.ghc763

that command starts a shell with an environment set-up that can be used
for building "haskell-ng.compiler.ghc763". This does include all
dependencies of GHC 7.6.3, but not the compiler itself.


 > Whenever I have something like
 >
 >   testHaskell = haskell-ng.packages.ghc784.ghcWithPackages (hp: []);
 >
 > in my `config.nix`, it starts to build ghc: ... But if I add any
 > single package to the list in `ghcWithPackages` it is no longer
 > building anything.

I cannot re-produce that, I'm afraid. On my system, both attributes

  testHaskell1 = self.haskell-ng.packages.ghc784.ghcWithPackages (hp: []);
  testHaskell2 = self.haskell-ng.packages.ghc784.ghcWithPackages (hp: with hp; 
[mtl]);

seem to work fine.

Best regards,
Peter

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to