[Nix-dev] Trying to nix-shell a Haskell package tries to build its older version.

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Thu May 1 07:44:35 CEST 2014


Hi,

There are some patches in git repository of HTTP Haskell package that I
need so I thought, hey, I'll just make a default.nix there and play with
it that way.

However, when I run

NIX_PATH=/home/shana/programming nix-shell

it does not build. In fact, in the build log (attached as ‘blog’), I can
see that it tries to pull compile the 4000.2.12 version of HTTP while
I'm trying to work with 4000.2.13! Understandably 4000.2.12 fails to
build as the compiler I'm using (GHC HEAD-ish) made some changes which
make it fail. In fact, the patches which make HTTP work again are
precisely what is in 4000.2.13 and what I'd like to work with.

I also attach my default.nix for HTTP.

I'm working with GHC 7.9.20140430 which is not currently attached but I
have in a personal branch in nixpkgs.

I don't know what I'm doing wrong here, and I need the patched HTTP for
another project. If I try to use it from there, same thing happens: it
tries to use 4000.2.12 instead.
-- 
Mateusz K.
-------------- next part --------------
these derivations will be built:
  /nix/store/1whynfrpi750j10im878m44316j0xqws-tagged-0.7.2.tar.gz.drv
  /nix/store/231jcbhcn2bjp5xyjwcs01vdjs85479h-async-2.0.1.5.tar.gz.drv
  /nix/store/2jd3lir0rqk8rly61kr77y5rhb9inlsf-haskell-unbounded-delays-ghc7.9.20140430-0.1.0.7-shared.drv
  /nix/store/2m1j4l2w1mjlyynl8bkn68f0g47in9fi-exceptions-0.5.tar.gz.drv
  /nix/store/37siwljjxlz26lp0gq8jq51d2k9afxgn-haskell-http-date-ghc7.9.20140430-0.0.4-shared.drv
  /nix/store/3lxdsx48vpxmyzmahi2957h709awsll1-haskell-transformers-base-ghc7.9.20140430-0.4.1-shared.drv
  /nix/store/3y345chsq3jmjhgpmjfvkl5bwcl3yv86-smallcheck-1.1.1.tar.gz.drv
  /nix/store/49asqjj10m062m0yhb4vd946zin5cj02-logict-0.6.0.2.tar.gz.drv
  /nix/store/6708nfc8rdwy41gmsrdcmdb1m2hhksha-haskell-tasty-ghc7.9.20140430-0.8.0.4-shared.drv
  /nix/store/76b4h0yrg477ci546zh76mw4dxvwrkxp-simple-sendfile-0.2.14.tar.gz.drv
  /nix/store/7f0vl8azp0qs93laliz48gcgymg7lkl0-polyparse-1.9.tar.gz.drv
  /nix/store/7js27xp8sgsqvamvngihzilqwm1k4bw0-crypto-api-0.13.tar.gz.drv
  /nix/store/7xwsr87h3alr1i62v5mb70xwd5wh4w6j-blaze-builder-conduit-1.1.0.tar.gz.drv
  /nix/store/83m52z4a6acp8j3h1mmrwlp3k7arg298-haskell-src-exts-1.15.0.1.tar.gz.drv
  /nix/store/8cj4j8w066vll5k6c4c8q5wva1kndb24-haskell-warp-ghc7.9.20140430-2.1.5-shared.drv
  /nix/store/8h846qdbj9vwacww3f9wjgvs6rgpkqsc-haskell-resourcet-ghc7.9.20140430-1.1.2-shared.drv
  /nix/store/8kvx1l2zaq9r17jiy7q487p78iqbi9hx-resourcet-1.1.2.tar.gz.drv
  /nix/store/8ng7sf8a5lz3r2snh41qk9p26cvj103h-doctest-0.9.11.tar.gz.drv
  /nix/store/93bf13c89zphiyynk4wpnhw7lkw6zv2d-haskell-regex-tdfa-ghc7.9.20140430-1.2.0-shared.drv
  /nix/store/93rjpm300dzav56rfs0qg6byl28j60ay-haskell-unix-compat-ghc7.9.20140430-0.4.1.1-shared.drv
  /nix/store/9dq1ci9b6dxjx69yh195hajd2z2hj72k-http-date-0.0.4.tar.gz.drv
  /nix/store/9h4bcvk85qr2v4mx50fd488wmj5ri2g2-haskell-semigroups-ghc7.9.20140430-0.13.0.1-shared.drv
  /nix/store/arrg89ah8qzl8i9ad7wvxn18kfid6hqn-nats-0.1.3.tar.gz.drv
  /nix/store/b8b4k4rjyali3m72h4m2k94wfcqlld9r-transformers-base-0.4.1.tar.gz.drv
  /nix/store/bb2z7jbvixsrrljsng0nrdwbf7njhyav-attoparsec-0.11.2.1.tar.gz.drv
  /nix/store/bqh68l1dibnw0xa674hr7r2ldnvbb0sg-regex-tdfa-1.2.0.tar.gz.drv
  /nix/store/bv0w7d4f1n061zlssvlkmalmb1r1rnq4-haskell-doctest-ghc7.9.20140430-0.9.11-shared.drv
  /nix/store/cf11nrrazhm1mrg60jh3c6a6snbq8rqh-haskell-syb-ghc7.9.20140430-0.4.1-shared.drv
  /nix/store/cyhksa95c7csds79ldp35rv7p1cv4ngf-unordered-containers-0.2.3.3.tar.gz.drv
  /nix/store/d583wlvscnw0kskmj68w59mdp897dp0g-haskell-haskell-src-exts-ghc7.9.20140430-1.15.0.1-shared.drv
  /nix/store/dy4jdfwq1kqfxkk6g5p72agpp16zyidi-vault-0.3.0.3.tar.gz.drv
  /nix/store/f20jysv3v6mh1jp584q7k1vlcm6syxls-base-unicode-symbols-0.2.2.4.tar.gz.drv
  /nix/store/f2anym2ziw36yr0ldx4nwk746czhvbrg-haskell-test-framework-th-prime-ghc7.9.20140430-0.0.6-shared.drv
  /nix/store/f524r4x3gsvk8p04gjyikzq9lh5k4lx9-cabal-install-1.18.0.3.drv
  /nix/store/f5qigmma4pbzmdsq4ys7vhy2hljn6vnc-happy-1.19.3.drv
  /nix/store/f8fbqcv7jp49fy9jpvnwybl06jw19bja-haskell-conduit-extra-ghc7.9.20140430-1.1.0.2-shared.drv
  /nix/store/f8r3hpn0d6d69kzc0fahynlh61ykwii8-haskell-scientific-ghc7.9.20140430-0.2.0.2-shared.drv
  /nix/store/fikw286y344gg70wn3av2w8lzm9sbmxx-haskell-lifted-base-ghc7.9.20140430-0.2.2.1-shared.drv
  /nix/store/g1xm1hf7gpxhy9h975vlizxhqsk24p7f-haskell-attoparsec-ghc7.9.20140430-0.11.2.1-shared.drv
  /nix/store/gxh2d2szy5kcfhs75h481rhzn07snpqj-optparse-applicative-0.8.0.1.tar.gz.drv
  /nix/store/h37rvq2myzz39l5fjcp0rhyica21f408-haskell-base-unicode-symbols-ghc7.9.20140430-0.2.2.4-shared.drv
  /nix/store/hdwp6mvgsd0gr9f2ffwkpr30q7m7zm23-haskell-crypto-api-ghc7.9.20140430-0.13-shared.drv
  /nix/store/id1vlxgdwr3jrsn47v8kw3j0px1znkkm-mmorph-1.0.2.tar.gz.drv
  /nix/store/idj3179ms2xm74jl3d44zp2d0fvzrsb3-haskell-mmorph-ghc7.9.20140430-1.0.2-shared.drv
  /nix/store/igrwbg7vczv9j8f818f7f2mwfii3ivvi-haskell-network-conduit-ghc7.9.20140430-1.1.0-shared.drv
  /nix/store/iywd3hld4rg286jakg7z2mrysbqp5cf5-haskell-vault-ghc7.9.20140430-0.3.0.3-shared.drv
  /nix/store/j1widn71dj5y2pbq9k0dfw7hfkd3sw87-haskell-logict-ghc7.9.20140430-0.6.0.2-shared.drv
  /nix/store/j979ra58k6krr2k0i078xsf7dlw342la-scientific-0.2.0.2.tar.gz.drv
  /nix/store/jj4f15j372w7lv6a0n53s5cbybny3hk1-haskell-cpphs-ghc7.9.20140430-1.18.4-shared.drv
  /nix/store/jk4gbn6fghkb9rl0n0lymir0jzjvvxh4-haskell-case-insensitive-ghc7.9.20140430-1.2.0.0-shared.drv
  /nix/store/jnbp3r8p7k9a961sbv9y07ac6j78rlxm-void-0.6.1.tar.gz.drv
  /nix/store/jp6pnnv407bjq3gwwb4hzb3a0f99a9ra-streaming-commons-0.1.2.tar.gz.drv
  /nix/store/k3rni8ibwrvlj57mhsv4yzijmzzxyc2x-haskell-blaze-builder-conduit-ghc7.9.20140430-1.1.0-shared.drv
  /nix/store/k9aq951zgmg853la4g2xbmckqqnfkil7-tasty-0.8.0.4.tar.gz.drv
  /nix/store/kjgqz2xf89d7imap95qwczaf524yiii3-haskell-QuickCheck-ghc7.9.20140430-2.5.1.1-shared.drv
  /nix/store/lhxfcz0w20l2vmxxfrkxawaqyky2dprf-haskell-hspec-ghc7.9.20140430-1.9.3-shared.drv
  /nix/store/ll8v9qzb1xbpq9vdh2qdschb4f971j63-blaze-builder-0.3.3.2.tar.gz.drv
  /nix/store/lr7563gz9fda02x7qyd99k82f0n1qcyn-haskell-exceptions-ghc7.9.20140430-0.5-shared.drv
  /nix/store/mhagwdam1yjvl0is9qw8v7h4p5i77xh4-haskell-async-ghc7.9.20140430-2.0.1.5-shared.drv
  /nix/store/mnpv8qwh7nsr2ldkn39hg2md6lwvms87-haskell-optparse-applicative-ghc7.9.20140430-0.8.0.1-shared.drv
  /nix/store/mp31sa75hv54llkgf2ah21az5dac034w-haskell-tagged-ghc7.9.20140430-0.7.2-shared.drv
  /nix/store/mqchvmfl63499317h9lrk1lmfvczy1sa-haskell-blaze-builder-ghc7.9.20140430-0.3.3.2-shared.drv
  /nix/store/mvszyf7f0azhzwp9cch87b6vkkvxvf0z-haskell-entropy-ghc7.9.20140430-0.2.2.4-shared.drv
  /nix/store/n6lalb2ripsg5yhbynhsvh4dlvxaigid-test-framework-th-prime-0.0.6.tar.gz.drv
  /nix/store/n858pp7fv821qqf97hkx8sz4ipn169r6-haskell-cereal-ghc7.9.20140430-0.4.0.1-shared.drv
  /nix/store/npcih2vjwvi4blq9xc2cjli5y1kgj1gr-haskell-polyparse-ghc7.9.20140430-1.9-shared.drv
  /nix/store/nsdynggj02jyk150m65pl3fpvb597rhz-tasty-smallcheck-0.8.tar.gz.drv
  /nix/store/p4i70cp1n5sb279r1j8qv47wq0mpq1c4-network-conduit-1.1.0.tar.gz.drv
  /nix/store/pb1m8j6yb6m129b0qq9rajpw9nnqa5nw-conduit-extra-1.1.0.2.tar.gz.drv
  /nix/store/pdjfypp384ss9jdxxa5c74lxmdkqynrh-haskell-split-ghc7.9.20140430-0.2.2-shared.drv
  /nix/store/pmalyc0f45iqzb5126cll5mngn3ri2z0-syb-0.4.1.tar.gz.drv
  /nix/store/q6682v1b55cjr5mchwnbs86sccif13jr-entropy-0.2.2.4.tar.gz.drv
  /nix/store/qnwdi4f5gzgnvmzzxgzpzwpa5d8bcpkj-haskell-tasty-smallcheck-ghc7.9.20140430-0.8-shared.drv
  /nix/store/rdvy1gi6p7i39ijv5lv3090zqiaxikl9-haskell-monad-control-ghc7.9.20140430-0.3.2.3-shared.drv
  /nix/store/rvmg6kn63j8pyzbxryk1xgfsvp8dkmvy-haskell-unordered-containers-ghc7.9.20140430-0.2.3.3-shared.drv
  /nix/store/s8nf0qmd3m8j7i5gc9j14cd7qg2xhzz2-cereal-0.4.0.1.tar.gz.drv
  /nix/store/v5aqd2s0bapi2bgkg6bhsaiksxa8d5hq-haskell-streaming-commons-ghc7.9.20140430-0.1.2-shared.drv
  /nix/store/vaqs357ygyhhz22fgpv9zb0zaw35awx7-hashable-1.2.1.0.tar.gz.drv
  /nix/store/vh6radwzqy76i46f9p6gzys0c5spfa6l-haskell-wai-ghc7.9.20140430-2.1.0.2-shared.drv
  /nix/store/vw0i16kh6sisl1ahm1zj851s6j2xrhvq-lifted-base-0.2.2.1.tar.gz.drv
  /nix/store/w1j14fp63y89znlqa1nkz1ww941m5sap-monad-control-0.3.2.3.tar.gz.drv
  /nix/store/w617agpmqgdr2sgkp6c3q6b7m39b2ky5-haskell-void-ghc7.9.20140430-0.6.1-shared.drv
  /nix/store/wjvz4jnyyvccam9f6n6f153n7hac5yii-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared.drv
  /nix/store/wrd8jrb4cxlmqpmlbmnxn580400rjhn8-haskell-http-types-ghc7.9.20140430-0.8.4-shared.drv
  /nix/store/xpwij5vdi6m65qwg9qabic4n7z5ikgsh-semigroups-0.13.0.1.tar.gz.drv
  /nix/store/y5d6z5ramr3syislij94196nib32yprf-haskell-smallcheck-ghc7.9.20140430-1.1.1-shared.drv
  /nix/store/y7nv38f2yfq7km19whk0k8paa6vb2xrf-haskell-hashable-ghc7.9.20140430-1.2.1.0-shared.drv
  /nix/store/ydhprq84xwpnwslgip43khrl1y64zsj5-QuickCheck-2.5.1.1.tar.gz.drv
  /nix/store/ywalrs4m9wwv7j54pxk6yknf5vsl5kdb-haskell-pureMD5-ghc7.9.20140430-2.1.2.1-shared.drv
  /nix/store/z517zmvq0lx4kh77lz02chcbcj879q5z-haskell-simple-sendfile-ghc7.9.20140430-0.2.14-shared.drv
  /nix/store/z8j437llgsyks6c7bwsmsqsfg6zvibq3-cpphs-1.18.4.tar.gz.drv
  /nix/store/z9hxg2lzhdkvxrpdknyzgrb8g69q3g82-unix-compat-0.4.1.1.tar.gz.drv
  /nix/store/zca4q80qhf2w5x810vs4hhbl5g6lj3gl-haskell-nats-ghc7.9.20140430-0.1.3-shared.drv
  /nix/store/zq5wsjwi5flqmsclzhsmbswcp0nzd3m6-unbounded-delays-0.1.0.7.tar.gz.drv
  /nix/store/zvxdkdaz432s50994lb5aswckj494i6a-haskell-conduit-ghc7.9.20140430-1.1.1-shared.drv
building path(s) `/nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared'
building path(s) `/nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared'
building /nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared
unpacking sources
unpacking source archive /nix/store/p0lgi55dp1bx490hf1f0bf2z7z9xpblh-split-0.2.2.tar.gz
source root is split-0.2.2
patching sources
configuring
building /nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared
unpacking sources
unpacking source archive /nix/store/z2r1cajwynbwv9aza0208nisgzraj37g-HTTP-4000.2.12.tar.gz
source root is HTTP-4000.2.12
patching sources
configuring
[1 of 1] Compiling Main             ( Setup.lhs, Setup.o )
[1 of 1] Compiling Main             ( Setup.lhs, Setup.o )
Linking Setup ...
Linking Setup ...
configure flags: --disable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests 
configure flags: --disable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --disable-tests 
Configuring HTTP-4000.2.12...
Flags chosen: network23=False, warn-as-error=False, mtl1=False, old-base=False
Dependency array -any: using array-0.5.0.0
Dependency base >=3: using base-4.7.1.0
Dependency bytestring -any: using bytestring-0.10.4.0
Dependency mtl >=2.0 && <2.2: using mtl-2.1.3.1
Dependency network -any: using network-2.4.2.2
Dependency old-time -any: using old-time-1.1.0.2
Dependency parsec -any: using parsec-3.1.5
Configuring split-0.2.2...
Dependency QuickCheck >=2.4: using QuickCheck-2.6
Dependency base <4.8: using base-4.7.1.0
Dependency split -any: using split-0.2.2
Using Cabal-1.20.0.0 compiled by ghc-7.9
Using compiler: ghc-7.9.20140430
Using install prefix:
/nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared
Binaries installed in:
/nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared/bin
Libraries installed in:
/nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared/lib/ghc-7.9.20140430/split-0.2.2
Private binaries installed in:
/nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared/libexec
Data files installed in:
/nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared/share/i386-linux-ghc-7.9.20140430/split-0.2.2
Documentation installed in:
/nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared/share/doc/i386-linux-ghc-7.9.20140430/split-0.2.2
Configuration files installed in:
/nix/store/hzh48s5ydg7794gha0bfq1gh57b6srbd-haskell-split-ghc7.9.20140430-0.2.2-shared/etc
No alex found
Using ar found on system at:
/nix/store/ih8inyk88ipx450838rwxcvpbxxz9lj6-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.8.2 found on system at:
/nix/store/7q6fc4g701rc1lr7v9vxkwij1v8lv3ji-gcc-wrapper-4.8.2/bin/gcc
Using ghc version 7.9.20140430 found on system at:
/nix/store/b5ma9si78blfw5dbplig9c1d4fl60bml-ghc-7.9.20140430-wrapper/bin/ghc
Using ghc-pkg version 7.9.20140430 found on system at:
/nix/store/b5ma9si78blfw5dbplig9c1d4fl60bml-ghc-7.9.20140430-wrapper/bin/ghc-pkg
No greencard found
Using haddock version 2.15.0 found on system at:
/nix/store/pwgsh18a4y7wfa7n4dg57srzwn581v24-ghc-7.9.20140430/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/b5ma9si78blfw5dbplig9c1d4fl60bml-ghc-7.9.20140430-wrapper/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/b5ma9si78blfw5dbplig9c1d4fl60bml-ghc-7.9.20140430-wrapper/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at:
/nix/store/7q6fc4g701rc1lr7v9vxkwij1v8lv3ji-gcc-wrapper-4.8.2/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using strip found on system at:
/nix/store/ih8inyk88ipx450838rwxcvpbxxz9lj6-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/2d69mhipzgnsphbria8fnvrxs94j4s8a-gnutar-1.27.1/bin/tar
No uhc found
building
Using Cabal-1.20.0.0 compiled by ghc-7.9
Using compiler: ghc-7.9.20140430
Using install prefix:
/nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared
Binaries installed in:
/nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared/bin
Libraries installed in:
/nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared/lib/ghc-7.9.20140430/HTTP-4000.2.12
Private binaries installed in:
/nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared/libexec
Data files installed in:
/nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared/share/i386-linux-ghc-7.9.20140430/HTTP-4000.2.12
Documentation installed in:
/nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared/share/doc/i386-linux-ghc-7.9.20140430/HTTP-4000.2.12
Configuration files installed in:
/nix/store/bvyk2qyw4qxs91ip2vc77rfwi73k46vm-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared/etc
No alex found
Using ar found on system at:
/nix/store/ih8inyk88ipx450838rwxcvpbxxz9lj6-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.8.2 found on system at:
/nix/store/7q6fc4g701rc1lr7v9vxkwij1v8lv3ji-gcc-wrapper-4.8.2/bin/gcc
Using ghc version 7.9.20140430 found on system at:
/nix/store/b5ma9si78blfw5dbplig9c1d4fl60bml-ghc-7.9.20140430-wrapper/bin/ghc
Using ghc-pkg version 7.9.20140430 found on system at:
/nix/store/b5ma9si78blfw5dbplig9c1d4fl60bml-ghc-7.9.20140430-wrapper/bin/ghc-pkg
No greencard found
Using haddock version 2.15.0 found on system at:
/nix/store/pwgsh18a4y7wfa7n4dg57srzwn581v24-ghc-7.9.20140430/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/b5ma9si78blfw5dbplig9c1d4fl60bml-ghc-7.9.20140430-wrapper/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/b5ma9si78blfw5dbplig9c1d4fl60bml-ghc-7.9.20140430-wrapper/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at:
/nix/store/7q6fc4g701rc1lr7v9vxkwij1v8lv3ji-gcc-wrapper-4.8.2/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using strip found on system at:
/nix/store/ih8inyk88ipx450838rwxcvpbxxz9lj6-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/2d69mhipzgnsphbria8fnvrxs94j4s8a-gnutar-1.27.1/bin/tar
No uhc found
building
Building HTTP-4000.2.12...
Preprocessing library HTTP-4000.2.12...
Building split-0.2.2...
Preprocessing library split-0.2.2...
[1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, dist/build/Data/List/Split/Internals.o )
[ 1 of 18] Compiling Network.HTTP.MD5Aux ( Network/HTTP/MD5Aux.hs, dist/build/Network/HTTP/MD5Aux.o )

Network/HTTP/MD5Aux.hs:91:10: Warning:
    No explicit implementation for
      either ‘negate’ or ‘-’
    In the instance declaration for ‘Num ABCD’
[2 of 2] Compiling Data.List.Split  ( src/Data/List/Split.hs, dist/build/Data/List/Split.o )
[ 2 of 18] Compiling Paths_HTTP       ( dist/build/autogen/Paths_HTTP.hs, dist/build/Paths_HTTP.o )
[ 3 of 18] Compiling Network.HTTP.Base64 ( Network/HTTP/Base64.hs, dist/build/Network/HTTP/Base64.o )
In-place registering split-0.2.2...
Preprocessing test suite 'split-tests' for split-0.2.2...
[1 of 1] Compiling Main             ( test/Properties.hs, dist/build/split-tests/split-tests-tmp/Main.dyn_o )
[ 4 of 18] Compiling Network.Stream   ( Network/Stream.hs, dist/build/Network/Stream.o )
[ 5 of 18] Compiling Network.HTTP.Utils ( Network/HTTP/Utils.hs, dist/build/Network/HTTP/Utils.o )
[ 6 of 18] Compiling Network.HTTP.Headers ( Network/HTTP/Headers.hs, dist/build/Network/HTTP/Headers.o )
[ 7 of 18] Compiling Network.HTTP.Cookie ( Network/HTTP/Cookie.hs, dist/build/Network/HTTP/Cookie.o )
[ 8 of 18] Compiling Network.BufferType ( Network/BufferType.hs, dist/build/Network/BufferType.o )
Linking dist/build/split-tests/split-tests ...
[ 9 of 18] Compiling Network.HTTP.Base ( Network/HTTP/Base.hs, dist/build/Network/HTTP/Base.o )
Running Haddock for split-0.2.2...
Preprocessing library split-0.2.2...
[10 of 18] Compiling Network.TCP      ( Network/TCP.hs, dist/build/Network/TCP.o )
Haddock coverage:
  91% ( 61 / 67) in 'Data.List.Split.Internals'
  90% ( 44 / 49) in 'Data.List.Split'
Documentation created: dist/doc/html/split/index.html,
dist/doc/html/split/split.txt
Preprocessing test suite 'split-tests' for split-0.2.2...
running tests
Running 1 test suites...
Test suite split-tests: RUNNING...
[11 of 18] Compiling Network.StreamDebugger ( Network/StreamDebugger.hs, dist/build/Network/StreamDebugger.o )
[12 of 18] Compiling Network.StreamSocket ( Network/StreamSocket.hs, dist/build/Network/StreamSocket.o )
[13 of 18] Compiling Network.HTTP.Auth ( Network/HTTP/Auth.hs, dist/build/Network/HTTP/Auth.o )
[14 of 18] Compiling Network.HTTP.Proxy ( Network/HTTP/Proxy.hs, dist/build/Network/HTTP/Proxy.o )

Network/HTTP/Proxy.hs:24:1: Warning:
    The import of ‘Network.HTTP.Base’ is redundant
      except perhaps to import instances from ‘Network.HTTP.Base’
    To import instances alone, use: import Network.HTTP.Base()
[15 of 18] Compiling Network.HTTP.HandleStream ( Network/HTTP/HandleStream.hs, dist/build/Network/HTTP/HandleStream.o )
[16 of 18] Compiling Network.HTTP     ( Network/HTTP.hs, dist/build/Network/HTTP.o )
[17 of 18] Compiling Network.HTTP.Stream ( Network/HTTP/Stream.hs, dist/build/Network/HTTP/Stream.o )
[18 of 18] Compiling Network.Browser  ( Network/Browser.hs, dist/build/Network/Browser.o )

Network/Browser.hs:968:3:
    Non type-variable argument
      in the constraint: MonadState (BrowserState connection) m
    (Use FlexibleContexts to permit this)
    In the context: (HStream ty,
                     MonadState (BrowserState connection) m,
                     MonadIO m)
    While checking the inferred type for ‘dorequest2’
    In an equation for ‘dorequest’:
        dorequest hst rqst
          = do { pool <- gets bsConnectionPool;
                 let uPort = ...;
                 conn <- liftIO
                         $ filterM
                             (\ c -> c `isTCPConnectedTo` EndPoint (uriRegName hst) uPort) pool;
                 .... }
          where
              dorequest2 c r
                = do { dbg <- gets bsDebug;
                       .... }
builder for `/nix/store/wjvz4jnyyvccam9f6n6f153n7hac5yii-haskell-HTTP-ghc7.9.20140430-4000.2.12-shared.drv' failed with exit code 1
building path(s) `/nix/store/y8imh27vfq5y9djdmsdy1whhl1yaky6x-haskell-hspec-ghc7.9.20140430-1.9.3-shared'
cannot build derivation `/nix/store/f524r4x3gsvk8p04gjyikzq9lh5k4lx9-cabal-install-1.18.0.3.drv': 1 dependencies couldn't be built
error: build of `/nix/store/f524r4x3gsvk8p04gjyikzq9lh5k4lx9-cabal-install-1.18.0.3.drv' failed
/run/current-system/sw/bin/nix-shell: failed to build all dependencies
-------------- next part --------------
{ haskellPackages ? (import <nixpkgs> {}).haskellPackages_ghcHEAD }:
let
  inherit (haskellPackages) cabal cabalInstall_1_18_0_3
    caseInsensitive conduit deepseq httpdShed httpTypes
    HUnit mtl network parsec pureMD5 split testFramework
    testFrameworkHunit wai warp;

in cabal.mkDerivation (self: {
  pname = "HTTP";
  version = "4000.2.13";
  src = ./.;
  buildDepends = [ mtl network parsec ];
  testDepends = [
    caseInsensitive conduit deepseq httpdShed httpTypes HUnit mtl
    network pureMD5 split testFramework testFrameworkHunit wai warp
  ];
  buildTools = [ cabalInstall_1_18_0_3 ];
  enableSplitObjs = false;
})


More information about the nix-dev mailing list