reflex-frp / reflex-platform

A curated package set and set of tools that let you build Haskell packages so they can run on a variety of platforms. reflex-platform is built on top of the nix package manager.
https://reflex-frp.org
BSD 3-Clause "New" or "Revised" License
720 stars 164 forks source link

nixOs build fails #52

Closed Rizary closed 8 years ago

Rizary commented 8 years ago

i got this error.. i added snap in the packages.nix

Preprocessing library reflex-dom-0.3... [ 1 of 17] Compiling Reflex.Dom.Xhr.ResponseType ( src/Reflex/Dom/Xhr/ResponseType.hs, dist/build/Reflex/Dom/Xhr/ResponseType.js_o ) [ 2 of 17] Compiling Reflex.Dom.Xhr.Exception ( src/Reflex/Dom/Xhr/Exception.hs, dist/build/Reflex/Dom/Xhr/Exception.js_o ) [ 3 of 17] Compiling Reflex.Dom.Xhr.Foreign ( src-ghcjs/Reflex/Dom/Xhr/Foreign.hs, dist/build/Reflex/Dom/Xhr/Foreign.js_o )

src-ghcjs/Reflex/Dom/Xhr/Foreign.hs:18:1-52: Warning: The import of ‘GHCJS.DOM.JSFFI.XMLHttpRequest’ is redundant except perhaps to import instances from ‘GHCJS.DOM.JSFFI.XMLHttpRequest’ To import instances alone, use: import GHCJS.DOM.JSFFI.XMLHttpRequest() [ 4 of 17] Compiling Reflex.Dom.WebSocket.Foreign ( src-ghcjs/Reflex/Dom/WebSocket/Foreign.hs, dist/build/Reflex/Dom/WebSocket/Foreign.js_o ) [ 5 of 17] Compiling Reflex.Dom.Internal.Foreign ( src-ghcjs/Reflex/Dom/Internal/Foreign.hs, dist/build/Reflex/Dom/Internal/Foreign.js_o ) [ 6 of 17] Compiling Reflex.Dom.Location ( src/Reflex/Dom/Location.hs, dist/build/Reflex/Dom/Location.js_o ) [ 7 of 17] Compiling Reflex.Dom.Class ( src/Reflex/Dom/Class.hs, dist/build/Reflex/Dom/Class.js_o ) [ 8 of 17] Compiling Reflex.Dom.Internal ( src/Reflex/Dom/Internal.hs, dist/build/Reflex/Dom/Internal.js_o ) Linking Template Haskell () fd:11: hPutBuf: resource vanished (Broken pipe) builder for ‘/nix/store/33cqj2bfxzh204bl3vx13aidv7q89ipr-reflex-dom-0.3.drv’ failed with exit code 1 cannot build derivation ‘/nix/store/72y71wp2d5ibkax2p26frgvkmi58cjns-reflex-todomvc-0.1.drv’: 1 dependencies couldn't be built error: build of ‘/nix/store/72y71wp2d5ibkax2p26frgvkmi58cjns-reflex-todomvc-0.1.drv’ failed these derivations will be built: /nix/store/krrg2a6zqff2gqaa6s7nxmhpj4cz95g3-extensible-exceptions-0.1.1.4.drv /nix/store/89nxvd0fk43xwc1rqkjhv9sxgiw485r7-hostname-1.0.drv /nix/store/lvwif74vs382aa73pz5va805nh1ymprh-test-framework-0.8.1.1-r1.cabal.drv /nix/store/z3q4jdvbvzv96ca83i1y1fjcrsbdflva-xml-1.3.14.drv /nix/store/mvffp5zqy13dcpi10hlapczpcgg88i88-test-framework-0.8.1.1.drv /nix/store/4ab5vd5sqn52dyvzb2cimb92ypg0afir-test-framework-quickcheck2-0.3.0.3.drv /nix/store/4qz5qa9d05mlbwlnkzf61pamir864wz5-test-framework-hunit-0.3.0.2.drv /nix/store/g8nh3fac1b3ws6lgv7kiz2nhsh0waf6m-base64-bytestring-1.0.0.1.drv /nix/store/01ldffcbhwh6sjn1ydiknczfwgkd6z5k-pwstore-fast-2.4.4.drv /nix/store/0591bhh89m1vfh7i9dn3c4rfcsjflqy7-bytestring-mmap-0.2.2.drv /nix/store/ibi2praz1fmwlrcpzdr6xg175gg4ckfc-Cabal-1.23.0.0.drv /nix/store/4lh36xbvhrbxdcns6v3nr5ilcpbbma9w-jailbreak-cabal-1.3.drv /nix/store/095annypbw25yc22n1dz0kd8pzxr95j4-HsOpenSSL-0.11.1.1.drv /nix/store/xbg7d73sh62d1ij00i4c5jrlid1a6ghp-clock-0.6.0.1.tar.gz.drv /nix/store/5gvc467dyx47csszmkksz0j5z56wh6mb-clock-0.6.0.1.drv /nix/store/7s66961vqg7n2bxfqdaa08mb7i8hwc6c-regex-tdfa-rc-1.1.8.3.drv /nix/store/8a4f1900s3vm08hc08s7sdad55k57ci3-unbounded-delays-0.1.0.9.drv /nix/store/kyw3frfdlralp9fspd8w88w9567y0ipn-tasty-0.11.0.2.drv /nix/store/0qjw0yl1lgvz5jjaz13c0jfrj8ia69yl-tasty-hunit-0.9.2.drv /nix/store/gsx68xdwfh43il64mrfsfs3jssys314n-memory-0.11.drv /nix/store/xajixl3fvqga5abnms71mac5l6finhha-byteable-0.1.1.drv /nix/store/0v6a6vjr1cqm1slh58h7w09cbzyh3200-securemem-0.1.9.drv /nix/store/13y5j8v9hq0baxkml2ca059idg3bac6q-snap-0.14.0.6-r3.cabal.drv /nix/store/1lqcmixi5z6nysg255lfiaf79465rnf2-pcre-light-0.4.0.4.drv /nix/store/d0v5s1armdmv4664476xa9z1fmzza9n9-tasty-quickcheck-0.8.4.drv /nix/store/27mk7xh5mncl866gcpdmdr4wj4zbzhm7-memory-0.11.drv /nix/store/id63k9k2jvgy0ysyxm7biyv06qhq6269-securemem-0.1.9.drv /nix/store/8ab7kl1wrrxc02nlahsgchbm5sqmn62k-crypto-cipher-types-0.0.9.drv /nix/store/54d45la6g8k4xp7qr2wx8jy7i5w1d8kx-cipher-aes-0.2.11.drv /nix/store/pd9r7h5y62jlmjb8qh276rx22wc6m9wp-crypto-random-0.0.9.drv /nix/store/1ajx40pqffcyaqv16f5p52z65bc46zz3-cprng-aes-0.6.1.drv /nix/store/8spydny6cgx59wcf9kfliv1f0ymivqb7-entropy-0.3.7.drv /nix/store/n8kqnz7phrgm6jbd59sb58jm30j1qjj0-cereal-0.4.1.1.drv /nix/store/1cfxxhznay181fzi32ddkgnaxi9l441z-crypto-api-0.13.2.drv /nix/store/1n2lfynn9g960nnxxwvaq8lqpsf2y02a-zlib-bindings-0.1.1.5.drv /nix/store/24pf6mrkib6bws262g2l1fsg59x8f0cd-MemoTrie-0.6.4.drv /nix/store/8124yx85cvyyf4knq4qy3ssqghdi1j96-blaze-builder-0.4.0.1.drv /nix/store/rnn0973h4q1vg60h5kxzb1kcvkd909i8-enumerator-0.4.20.drv /nix/store/aimg2ykm809lsp8fa278zmdmxj1cfv2n-attoparsec-enumerator-0.3.4.drv /nix/store/fpyywgjzqbm7rjshy48cvxf2rq790a0p-monads-tf-0.1.0.2.drv /nix/store/hficia3da77vqfvh7mvw3vzhvabn7261-MonadCatchIO-transformers-0.3.1.3.drv /nix/store/ld2rafm49csbai62fnw77wg1a7zj95cg-zlib-enum-0.2.3.1.drv /nix/store/ggjm6bj68f6fwavmy3jhc7qc8wp8858y-streaming-commons-0.1.15.drv /nix/store/zlzi6p778ibmhpcj4dh20llsrnh4x85s-bytestring-builder-0.10.6.0.0.drv /nix/store/m1zy67gxj6vw2nxxsb7a157m3sggmf6r-blaze-builder-enumerator-0.2.1.0.drv /nix/store/mz5rw51mp4yac1i7rknp96x0hbgihri2-bytestring-mmap-0.2.2.drv /nix/store/xb0avqx11vy17cf38isj2yiyzdia8sv7-case-insensitive-1.2.0.5.drv /nix/store/266yx1q833mzzwx7cilfiyzwp1g4appf-snap-core-0.9.8.0.drv /nix/store/2iz1cxzpiq4hmxv2w60ifhh9ryg26izs-snap-server-0.9.5.1.drv /nix/store/grynkx65h6fv5083aw8ahvm4zxlpzjzm-cereal-0.4.1.1.drv /nix/store/vwr9j06iw9zhw0sq3kz2sdklfi6n32jb-entropy-0.3.7.drv /nix/store/2lcbzx74s1laia2b5kyian4yvj9x04km-crypto-api-0.13.2.drv /nix/store/2pkxj2cjdq2apan4gy348r4pkr7sh78z-blaze-builder-0.4.0.1.drv /nix/store/2p8qj5gfqhxbl7wfz4w6gikf471885is-blaze-markup-0.7.0.3.drv /nix/store/dhmyqnx003f4xixwjiv24zhsjf62nbxv-bytestring-builder-0.10.6.0.0.drv /nix/store/dpg1fqqa8fw3bjag328i2dz64p3lhfnd-enumerator-0.4.20.drv /nix/store/8924hj64pk76y7yvrxyhsxdiwrvb79nc-random-1.1.drv /nix/store/q32nrjd4fqr1r7h6apx3l12ybwgy04zb-network-2.6.2.1.drv /nix/store/41nh855hwg3viv8vl32m2nbpifqzz7zz-zlib-0.6.1.1.tar.gz.drv /nix/store/h592wjqx3vdbggql53ikaalbapqhm55r-zlib-0.6.1.1-r3.cabal.drv /nix/store/w3xxxrw20ijr5xvrlcfl9ifdvldnfc2a-zlib-0.6.1.1.drv /nix/store/riiriipy0yy3rmwgkvakqkx70mcsp0wi-streaming-commons-0.1.15.drv /nix/store/2w0x3l1swypmycn6wmjyc2qgjmwlm9mi-blaze-builder-enumerator-0.2.1.0.drv /nix/store/33cqj2bfxzh204bl3vx13aidv7q89ipr-reflex-dom-0.3.drv /nix/store/fqqh7np7fay36r8zf8dxdvi0ww3s7ysn-MonadRandom-0.4.1.drv /nix/store/4a59y9hpwccp8jj7vdvambskshz4y67n-either-4.4.1.drv /nix/store/dbx264b3yj7m5qhi6aqzbr762szfg8ml-reflex-0.4.0.drv /nix/store/v9s67nk86hcaj8m476kyqz26wlglkj9c-reflex-dom-0.3.drv /nix/store/4dcsa1ajzh6n9z0hb4xk5nfhzdqjnvxy-reflex-todomvc-0.1.drv /nix/store/4dh5bra1wmka3kzjwv113m6xzqwlj5zj-mwc-random-0.13.3.2.drv /nix/store/4kcngw49yi77dvrgqr1gm0xmix60q987-mmorph-1.0.4.drv /nix/store/57vjrpymgg91yj7kp246lm3wqq67a8r8-mwc-random-0.13.3.2.drv /nix/store/5wl75fnx4kvzcnk76xsis1z937l5mcrs-logict-0.6.0.2.drv /nix/store/5z04ibrwwk2mpp91d7y5q27bnvn07zvp-map-syntax-0.2.drv /nix/store/64pszr6rp8p93ivc65l12xsi5n3rhgcz-directory-tree-0.12.0.drv /nix/store/6gafm89jmcri2pfx71lfg6f2plnm80p4-blaze-html-0.8.1.1.drv /nix/store/w5saihng3p0g4vlkh0c4dfsh8crrcamw-monads-tf-0.1.0.2.drv /nix/store/ad8zny1mjgis98h4nnhlwwj8kldl7ir7-MonadCatchIO-transformers-0.3.1.3.drv /nix/store/ir2dyx7vn2b0l7w9nfxfh0kgx7r6l3j6-HsOpenSSL-0.11.1.1.drv /nix/store/kpdai0hy6472ff6cjqk33wn8sva2pjnm-attoparsec-enumerator-0.3.4.drv /nix/store/vp9bs2ssp52y64fdg87jpd3g3n2dd5zg-unix-compat-0.4.1.4.drv /nix/store/9cgc2z0rzj1rkspb5zapdcc4g212rv5s-HUnit-1.3.1.0.drv /nix/store/bbnv6gk4ffjd9gc225jh0ql0jizh20ah-regex-base-0.93.2.drv /nix/store/caqgvjxbhyiari5q172alx9xyf69h237-regex-posix-0.95.2.drv /nix/store/7fszv7z7b2liq7y9fcn83vhcazm9a4wj-zlib-bindings-0.1.1.5.drv /nix/store/h2ils1acdfqwnar6cm9024pn1bln027w-zlib-enum-0.2.3.1.drv /nix/store/zpshvdbfsp0irk5zh95mc36xd0gpqmd3-snap-core-0.9.8.0.drv /nix/store/6hchazwddwjf9wwzvrgb2mjdn78giw6p-snap-server-0.9.5.1.drv /nix/store/6jd9w90pjj8rm832x6g0wqn50gijq5m8-crypto-cipher-types-0.0.9.drv /nix/store/72y71wp2d5ibkax2p26frgvkmi58cjns-reflex-todomvc-0.1.drv /nix/store/73ibzkvy0rmbgvsnshdj5gqcn2jqlxal-configurator-0.3.0.0.drv /nix/store/7x56xj46hzjk4kl11cckicq69yj807jf-cipher-aes-0.2.11.drv /nix/store/851p39rxl3kqd9amic8mkmfl1lcc5dmi-crypto-random-0.0.9.drv /nix/store/9d1klc3ahlsjpkjqbjv41mp7np7n934m-skein-1.0.9.4.tar.gz.drv /nix/store/jii18nksbjx2b32igc1qai3hfjpi6xfh-skein-1.0.9.4.drv /nix/store/lxgpx8j7pva3q0r57mshvpxjhgvm352i-cprng-aes-0.6.1.drv /nix/store/qjnvw9d7mg3m3wf6851rbz8gh8sp7hmk-base64-bytestring-1.0.0.1.drv /nix/store/zhdznjxz6gslmin0d5f7ldg85gfzhnpl-setenv-0.1.1.3.drv /nix/store/861nj7kyxnjr0agpd2cav5yb3zjcgl2g-clientsession-0.9.1.1.drv /nix/store/88mm2h6a44dcn23ngpkqmy1w7rd6r19j-transformers-base-0.4.4.drv /nix/store/9iy3vc328s6w9i18x0sq94p4m2pdrf5l-logict-0.6.0.2.drv /nix/store/aqq9pvvcjl1kcl748z6gr5hws75nrfl9-parsec-3.1.9.drv /nix/store/b7mk2qp3nyrg18n4mhlnfbhxsrxpz7af-xmlhtml-0.2.3.4.drv /nix/store/gd63w5czmjcfla508fv3mk1vc33cqgbb-directory-tree-0.12.0.drv /nix/store/gd3ylg3r60lgcix9hvg4h1h0fiv2ihnz-map-syntax-0.2.drv /nix/store/ic4rdp5c1yk58r3gcszjbfb9y99b77ga-MonadRandom-0.4.1.drv /nix/store/nxdvf9xi4f179imj76bqz9gjyipfdcqj-monad-control-1.0.0.4.drv /nix/store/hp0y8566c7ckddh9k40dq9zzr9m60ay6-either-4.4.1.drv /nix/store/hlwllxhr46pplw8phgp8sfik8ik0pbd8-heist-0.14.1.1.drv /nix/store/m4jj9lhabfkszd9si4vl5kfmsz1la9fh-configurator-0.3.0.0.drv /nix/store/mj8jgliv2s7w7w3l6y9vdm5grsypd3dn-vector-algorithms-0.7.0.1.drv /nix/store/vw54x7cd1057022l8jfxxyhzz4bv88iz-cryptohash-0.11.6.drv /nix/store/vzjjksg9kpy4l06w399bvkflh32sn1x0-pwstore-fast-2.4.4.drv /nix/store/b7vdfk2bwgscvpz35qrz4dncmn76xpkq-snap-0.14.0.6.drv /nix/store/7gmqbcx6x3463fylffhza4740vrc1fdk-ghcjs-0.2.0.drv /nix/store/g3mfck06i18pzsgk3k7xls5xh845dm5w-blaze-markup-0.7.0.3.drv /nix/store/h8gqnckv1x98nn9a93jddnaj81h1ga9w-blaze-html-0.8.1.1.drv /nix/store/lnf6b95ghvxb07awsga6j88d240gifp7-xmlhtml-0.2.3.4.drv /nix/store/87ymmzyyshxksqjibp3lff67n7rx515v-heist-0.14.1.1.drv /nix/store/bmw044ik79kir5n8c2z31nzcklr9b0h9-vector-algorithms-0.7.0.1.drv /nix/store/vhrx6spdmf4sn8bb5h1g3rhnqd9lp1rg-skein-1.0.9.4.drv /nix/store/s3k36zbp00bdygrvhw4qf8hy02lxcdd9-clientsession-0.9.1.1.drv /nix/store/ivv351wfzd14z7nhivdf5m7fhfpqsv7g-snap-0.14.0.6.drv /nix/store/afim7y4gaa0qdll1vpilmpa76636j8az-ghc-7.10.2.drv these paths will be fetched (0.00 MiB download, 395.86 MiB unpacked): /nix/store/068ra77qqd9ybj68mkc3jlnbdqgrwwkj-gtk3-0.14.2 /nix/store/1cmwpaybzfbyd5v86apam7sdfzymsh7z-ghcjs-dom-0.2.3.1 /nix/store/6dabaynw9cky2z0xzriwcgi2jjphk6sq-gtk+-2.24.28 /nix/store/6g4wry8zvnv2vamq0bpmqs36vciink1i-webkitgtk-2.4.9 /nix/store/8x9cxvd3pzlfnp88pbd1a4p3gg2qrcsz-pango-1.38.0 /nix/store/9whqi6c6rhb28gjhnpxdx3ppnx56c248-cairo-0.13.1.1 /nix/store/a2nqxzkbrv7qib05xhm3wc0mpcyr6qm6-harfbuzz-1.0.6 /nix/store/aiczb8v8apdv0way4rwslqmgkwl31j19-harfbuzz-1.0.6 /nix/store/fhjhfcq5ybfwlspbgmxarffia12h2nd1-webkitgtk3-0.14.1.1 /nix/store/jalm2d59ybkhhick1ml4hz2r3l5g58c9-gst-plugins-base-1.6.1 /nix/store/lcznmff1285plpgwxaln0ji6drgii497-pango-0.13.1.1 /nix/store/sbkaf0kp7g6ard66jmsxibh719i8d40a-webkitgtk3-javascriptcore-0.13.1.1 /nix/store/v30d5zcjnykxmfzqxh4grxzhv6ph5hpx-gtk+3-3.18.5 /nix/store/zfgiirz7ljmsmb8a305vzncrr6dakdz4-cairo-1.14.4 fetching path ‘/nix/store/zfgiirz7ljmsmb8a305vzncrr6dakdz4-cairo-1.14.4’... building path(s) ‘/nix/store/bgapijfk3q3b7hgbr1xz7cvdf89daj99-HUnit-1.3.1.0’ building path(s) ‘/nix/store/rnbs8wlaxzjzqyc42dxq451n3fwv0c4f-MonadRandom-0.4.1’ building path(s) ‘/nix/store/7xp28cqd5wjc1278r4d7mhpd7b4sw6an-base64-bytestring-1.0.0.1’ building path(s) ‘/nix/store/qj41b1y1m98jnn5k3fhfs1f8z4z0ni3s-blaze-builder-0.4.0.1’ building path(s) ‘/nix/store/j79wsvxfanfiz0bd8drj1pz376i1snpd-byteable-0.1.1’ building path(s) ‘/nix/store/bkcbhal4jhmg3dym255nnsaq02rkihxs-bytestring-builder-0.10.6.0.0’ building path(s) ‘/nix/store/7bkmls8bjjxwiwq7jyh7n7vr46vvarcg-bytestring-builder-0.10.6.0.0’ setupCompilerEnvironmentPhase Build with /nix/store/sdhg71mriryj63d4s5h7ghw833czxsh5-ghcjs-0.2.0. setupCompilerEnvironmentPhase Build with /nix/store/x90sc7agqnqf1jmmy91778b38p6g68xz-ghc-7.10.2. setupCompilerEnvironmentPhase Build with /nix/store/sdhg71mriryj63d4s5h7ghw833czxsh5-ghcjs-0.2.0. setupCompilerEnvironmentPhase Build with /nix/store/sdhg71mriryj63d4s5h7ghw833czxsh5-ghcjs-0.2.0. setupCompilerEnvironmentPhase Build with /nix/store/sdhg71mriryj63d4s5h7ghw833czxsh5-ghcjs-0.2.0. setupCompilerEnvironmentPhase Build with /nix/store/sdhg71mriryj63d4s5h7ghw833czxsh5-ghcjs-0.2.0. setupCompilerEnvironmentPhase Build with /nix/store/x90sc7agqnqf1jmmy91778b38p6g68xz-ghc-7.10.2.

*\ Downloading ‘ryantrinklecom:5443/nar/zfgiirz7ljmsmb8a305vzncrr6dakdz4.nar.bz2’ (signed by ‘ryantrinkle.com-1’) to ‘/nix/store/zfgiirz7ljmsmb8a305vzncrr6dakdz4-cairo-1.14.4’... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0unpacking sources unpacking source archive /nix/store/g5p9df8hkyrp8qlxkzashja72b7ij6na-bytestring-builder-0.10.6.0.0.tar.gz source root is bytestring-builder-0.10.6.0.0 patching sources unpacking sources unpacking source archive /nix/store/z2vknl50nmn26f42fggxl7j9hap7x2qi-MonadRandom-0.4.1.tar.gz compileBuildDriverPhase setupCompileFlags: -package-db=/tmp/nix-build-bytestring-builder-0.10.6.0.0.drv-1/package.conf.d -j1 -threaded source root is MonadRandom-0.4.1 patching sources compileBuildDriverPhase setupCompileFlags: -package-db=/tmp/nix-build-MonadRandom-0.4.1.drv-0/package.conf.d -j1 -threaded 100 746k 0 746k 0 0 1034k 0 --:--:-- --:--:-- --:--:-- 1035k

building path(s) ‘/nix/store/dsvgx1m8d3yig3infzxnj3yk7n3prb5w-Cabal-1.23.0.0’ [1 of 1] Compiling Main ( Setup.hs, /tmp/nix-build-bytestring-builder-0.10.6.0.0.drv-1/Main.o ) [1 of 1] Compiling Main ( Setup.hs, /tmp/nix-build-MonadRandom-0.4.1.drv-0/Main.o ) setupCompilerEnvironmentPhase Build with /nix/store/x90sc7agqnqf1jmmy91778b38p6g68xz-ghc-7.10.2. Linking Setup ... Linking Setup ... unpacking sources unpacking source archive /nix/store/x12ps5nc26v2zay45axnfwkqfl7kl062-cabal-fe7b8784ac0a5848974066bdab76ce376ba67277-src source root is cabal-fe7b8784ac0a5848974066bdab76ce376ba67277-src patching sources compileBuildDriverPhase setupCompileFlags: -package-db=/tmp/nix-build-Cabal-1.23.0.0.drv-0/package.conf.d -j1 -threaded unpacking sources unpacking sources unpacking sources unpacking sources unpacking sources unpacking source archive /nix/store/75im0c38d5da44kd1lcp7l95x703v0pd-base64-bytestring-1.0.0.1.tar.gz unpacking source archive /nix/store/z36ss6a9y2vvfk70pgri0pliagbqy8wh-blaze-builder-0.4.0.1.tar.gz unpacking source archive /nix/store/kc8cd3pk3qkakxzpamcr4f81vp95hmf2-byteable-0.1.1.tar.gz unpacking source archive /nix/store/87gscjyic9q1raafcrzbrqygp2jgwhml-HUnit-1.3.1.0.tar.gz unpacking source archive /nix/store/g5p9df8hkyrp8qlxkzashja72b7ij6na-bytestring-builder-0.10.6.0.0.tar.gz source root is base64-bytestring-1.0.0.1 source root is byteable-0.1.1 source root is HUnit-1.3.1.0 source root is bytestring-builder-0.10.6.0.0 patching sources patching sources source root is blaze-builder-0.4.0.1 patching sources patching sources compileBuildDriverPhase patching sources compileBuildDriverPhase compileBuildDriverPhase setupCompileFlags: -package-db=/tmp/nix-build-base64-bytestring-1.0.0.1.drv-0/package.conf.d -j1 compileBuildDriverPhase setupCompileFlags: -package-db=/tmp/nix-build-byteable-0.1.1.drv-0/package.conf.d -j1 setupCompileFlags: -package-db=/tmp/nix-build-HUnit-1.3.1.0.drv-0/package.conf.d -j1 compileBuildDriverPhase setupCompileFlags: -package-db=/tmp/nix-build-bytestring-builder-0.10.6.0.0.drv-0/package.conf.d -j1 setupCompileFlags: -package-db=/tmp/nix-build-blaze-builder-0.4.0.1.drv-0/package.conf.d -j1 [1 of 1] Compiling Main ( Setup.hs, /tmp/nix-build-byteable-0.1.1.drv-0/Main.js_o ) [1 of 1] Compiling Main ( Setup.hs, /tmp/nix-build-bytestring-builder-0.10.6.0.0.drv-0/Main.js_o ) [1 of 1] Compiling Main ( Setup.hs, /tmp/nix-build-base64-bytestring-1.0.0.1.drv-0/Main.js_o ) [1 of 1] Compiling Main ( Setup.lhs, /tmp/nix-build-HUnit-1.3.1.0.drv-0/Main.js_o ) [1 of 1] Compiling Main ( Setup.hs, /tmp/nix-build-blaze-builder-0.4.0.1.drv-0/Main.js_o ) Linking Setup.jsexe (Main) Linking Setup.jsexe (Main) Linking Setup.jsexe (Main) Linking Setup.jsexe (Main) Linking Setup.jsexe (Main) [ 1 of 81] Compiling Distribution.Lex ( Distribution/Lex.hs, /tmp/nix-build-Cabal-1.23.0.0.drv-0/Distribution/Lex.o ) [ 2 of 81] Compiling Distribution.Simple.Program.Internal ( Distribution/Simple/Program/Internal.hs, /tmp/nix-build-Cabal-1.23.0.0.drv-0/Distribution/Simple/Program/Internal.o ) [ 3 of 81] Compiling Distribution.GetOpt ( Distribution/GetOpt.hs, /tmp/nix-build-Cabal-1.23.0.0.drv-0/Distribution/GetOpt.o ) ghcjs-0.2.0-7.10.2.bin: ghcjs-0.2.0-7.10.2.bin: ghcjs-0.2.0-7.10.2.bin: ghcjs-0.2.0-7.10.2.bin: ghcjs-0.2.0-7.10.2.bin: out of memory (requested 1048576 bytes)out of memory (requested 1048576 bytes)out of memory (requested 2097152 bytes)out of memory (requested 1048576 bytes)out of memory (requested 1048576 bytes)

collect2: error: ld terminated with signal 9 [Killed] [ 4 of 81] Compiling Distribution.Compat.Binary ( Distribution/Compat/Binary.hs, /tmp/nix-build-Cabal-1.23.0.0.drv-0/Distribution/Compat/Binary.o ) builder for ‘/nix/store/2pkxj2cjdq2apan4gy348r4pkr7sh78z-blaze-builder-0.4.0.1.drv’ failed with exit code 1 fetching path ‘/nix/store/9whqi6c6rhb28gjhnpxdx3ppnx56c248-cairo-0.13.1.1’... fetching path ‘/nix/store/a2nqxzkbrv7qib05xhm3wc0mpcyr6qm6-harfbuzz-1.0.6’... fetching path ‘/nix/store/aiczb8v8apdv0way4rwslqmgkwl31j19-harfbuzz-1.0.6’... building path(s) ‘/nix/store/g2hj4grrccj8h9rrijiyp6wlnbwzcb0y-MemoTrie-0.6.4’ building path(s) ‘/nix/store/n5h11w9ng54ahz66mn4ja1bh5gvv1jji-bytestring-mmap-0.2.2’ cannot build derivation ‘/nix/store/7gmqbcx6x3463fylffhza4740vrc1fdk-ghcjs-0.2.0.drv’: 1 dependencies couldn't be built killing process 9682 killing process 9681 killing process 9680 error: build of ‘/nix/store/7gmqbcx6x3463fylffhza4740vrc1fdk-ghcjs-0.2.0.drv’ failed /run/current-system/sw/bin/nix-shell: failed to build all dependencies It looks like a problem occurred. Please submit an issue at

ryantrinkle commented 8 years ago

This means you're running out of memory. Here are some things you can try:

I usually use a machine with 16 GB of RAM when building the toolchain, but substantially less than that should be sufficient for building some programs. However, large GHCJS compiles still do take quite a lot of RAM, so I'd recommend having as much as you can.

ryantrinkle commented 8 years ago

Please re-open if my response didn't cover your issue.