Re: [Nix-dev] haskell-ng / cabal-install problem

2015-05-08 Thread Peter Simons
Hi Tobias, What I need is cabal 1.20.x because I would like to use ghc-mod which is not compatible with 1.22.x because of a file format change in cabal leading to ghc-mod being unable to parse. We don't have cabal-install 1.20.x. There is cabal-install 1.18.x, though, which is the latest

Re: [Nix-dev] haskell-ng / cabal-install problem

2015-05-07 Thread Peter Simons
Hi Tobias, I would like to use ghc 7.8.4 and cabal-install 1.20.x. what Nixpkgs branch are you on? The current 'master' branch (a.k.a. 'nixos-unstable' channel) has cabal-install 1.22.x, and it builds fine: $ nix-build nixpkgs -A haskell-ng.packages.ghc784.cabal-install

[Nix-dev] haskell-ng / cabal-install problem

2015-05-07 Thread Tobias Pflug
Hi, I've been facing some problems with haskell-ng and cabal-install. I would like to use ghc 7.8.4 and cabal-install 1.20.x. I try to install cabal-install as follows: $ nix-env -f ~/nixpkgs -i -A haskell-ng.packages.ghc784.cabal-install The build fails because of missing dependencies :

Re: [Nix-dev] haskell-ng / cabal-install problem

2015-05-07 Thread Tobias Pflug
On 07.05.2015 21:22, Peter Simons wrote: nix-build nixpkgs -A haskell-ng.packages.ghc784.cabal-install What I need is cabal 1.20.x because I would like to use ghc-mod which is not compatible with 1.22.x because of a file format change in cabal leading to ghc-mod being unable to parse. So how