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 :

[1 of 1] Compiling Main             ( Setup.hs, 
/tmp/nix-build-cabal-install-1.20.0.3.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose 
--prefix=/nix/store/rzlbizs8c173gby60hvdmhzdln7n60bb-cabal-install-1.20.0.3 
--libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc 
--package-db=/tmp/nix-build-cabal-install-1.20.0.3.drv-0/package.conf.d 
--ghc-option=-optl=-Wl,-rpath=/nix/store/rzlbizs8c173gby60hvdmhzdln7n60bb-cabal-install-1.20.0.3/lib/ghc-7.8.4/cabal-install-1.20.0.3
 
--ghc-option=-j4 --enable-split-objs --disable-library-profiling 
--enable-shared --enable-library-vanilla --enable-executable-dynamic 
--disable-tests
Configuring cabal-install-1.20.0.3...
Setup: At least the following dependencies are missing:
Cabal >=1.20.0 && <1.21, network >=2.0 && <2.6, random >=1 && <1.1
builder for 
‘/nix/store/bjpwinfa70cw6yxvbzxj8qv1zk18iyid-cabal-install-1.20.0.3.drv’ 
failed with exit code 1
error: build of 
‘/nix/store/bjpwinfa70cw6yxvbzxj8qv1zk18iyid-cabal-install-1.20.0.3.drv’ 
failed

What am I doing wrong ? How can I get this to work ?

thanks,
Tobi

PS: I'm running nix on Ubuntu. Tracking nixpkgs via
NixOS/nixpkgs-channels
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to