Hi all, I'm having a problem. If I do `nix-env -i cabal-install` all goes well, but when I try to install a cabal package, for example `cabal install uu-parsinglib` I get an error caused by the utility "ar" being unavailable. If I manually `nix-env -i binutils`, all the problems magically disappear. I've tried the following in nixpkgs:
[r...@nixos:/etc/nixos/nixpkgs/pkgs]# svn diff
Index: tools/package-management/cabal-install/0.8.0.nix
===================================================================
--- tools/package-management/cabal-install/0.8.0.nix
(revision 25247)
+++ tools/package-management/cabal-install/0.8.0.nix (working
copy)
@@ -1,11 +1,11 @@
-{cabal, HTTP, network, zlib} :
+{cabal, HTTP, network, zlib, binutils} :
cabal.mkDerivation (self : {
pname = "cabal-install";
name = self.fname;
version = "0.8.0"; # Haskell Platform 2010.1.0.0
sha256 =
"6d16618ff454f8d732cad64a53b767b5b6bb95ba4970b260a40e8f467035493c";
- extraBuildInputs = [HTTP network zlib];
+ extraBuildInputs = [HTTP network zlib binutils];
meta = {
description = "The command-line interface for Cabal and
Hackage";
<snip> Same for files 0.8.2.nix and default.nix in that
directory.
But unfortunately this doesn't seem to make cabal-install depend
on binutils. What am I doing wrong? Sorry about the fact that
this question is probably really basic.
Thanks in advance,
Paul van der Walt
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
signature.asc
Description: Digital signature
_______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
