Skip to content

Instantly share code, notes, and snippets.

@ajnsit
Created May 5, 2018 10:04
Show Gist options
  • Save ajnsit/95afbc7cc159e4bfd74ebc3d065dbcff to your computer and use it in GitHub Desktop.
Save ajnsit/95afbc7cc159e4bfd74ebc3d065dbcff to your computer and use it in GitHub Desktop.
Trying to get started with Haskell and Nix
λ git clone https://github.com/data61/fp-course.git
Cloning into 'fp-course'...
remote: Counting objects: 7646, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 7646 (delta 17), reused 22 (delta 12), pack-reused 7614
Receiving objects: 100% (7646/7646), 3.67 MiB | 257.00 KiB/s, done.
Resolving deltas: 100% (4096/4096), done.
λ cd fp-course
λ nix-shell
these derivations will be built:
/nix/store/r2pqlr2yspkgpiwhi3j3lpmg4gsi2029-remove-references-to.drv
/nix/store/zm9wshzs4562rk3dfjcwpf9hm6vab6xz-hscolour-1.24.1.drv
/nix/store/1amq8zsv802fbc0k371z4f3z08j1lyvq-clock-0.7.2.drv
/nix/store/345cw8y9mqcq7xngwayikfc3iskdyr4l-stm-2.4.4.1.drv
/nix/store/3vkyrv0h0qhgb8ir7wpnk06qg3406y9i-mtl-2.2.1.drv
/nix/store/ccm3sd5hvirhisq6l4w3142x38xrdcyj-transformers-compat-0.5.1.4.drv
/nix/store/48qicrlsmmfldjaw4k670g6v6dxsgl4h-tagged-0.8.5.drv
/nix/store/75ajwgjss7zkykapv19sxz9j2ink0b2n-ansi-terminal-0.6.3.1.drv
/nix/store/spx83vwjws620g5zlk1n9z6z1a2bwfkk-text-1.2.2.2.drv
/nix/store/0yiqpzjrfjx69zhzzmsdd107csl4ffip-xml-1.3.14.drv
/nix/store/7zxlfd9ccnn7z5r17vyqw4n2pm5qvs26-ansi-wl-pprint-0.6.7.3.drv
/nix/store/ffcmfj7ln1ww9skhqilga2k6zwa3w6db-old-locale-1.0.0.7.drv
/nix/store/7qfnglzf5aza220ci1zg655kmlwcl1sm-regex-base-0.93.2.drv
/nix/store/i878r3iwgnb134bd38rjfrrs9wapbpqa-regex-posix-0.95.2.drv
/nix/store/iwq78hxqham3qbm64ia8cwkcw0iwpcbw-random-1.1.drv
/nix/store/lmc0c1xyhk04nbavhc40b6ak50fvpsjk-hostname-1.0.drv
/nix/store/djb81hybdgkjigqgcswdd2j9qc8k8j9f-test-framework-0.8.1.1.drv
/nix/store/ldhgbhs5sqqrwapjy988np5qvkrjx88z-nanospec-0.2.1.drv
/nix/store/j24yhk79vd368nvz73fxpci648l8bzck-call-stack-0.1.0.drv
/nix/store/lizaj8dav4m5nxywa0xwp72sp3m5in06-HUnit-1.5.0.0.drv
/nix/store/4cqa66cpf21w8b54rwa91cfwrx7wmc30-extensible-exceptions-0.1.1.4.drv
/nix/store/r7pv6z4asn714iw3il44zgbw37k1rn2i-test-framework-hunit-0.3.0.2.drv
/nix/store/7gjxd33dwqp2jx48y93nv73knn0q2jy6-async-2.1.1.1.drv
/nix/store/lx13kgmbsl5dsg1g4lsdyypp8rd93ryb-primitive-0.6.2.0.drv
/nix/store/9wd8gzakrxjwpz5dkjchscdvrjq6hzfj-tf-random-0.5.drv
/nix/store/7qzcxig4cg9m779dq7w0yfndcqz9ad2r-QuickCheck-2.9.2.drv
/nix/store/a4r2a87scamscmkcf4969pisfm57brmv-optparse-applicative-0.13.2.0.drv
/nix/store/4mw2kdh7l53ckx386ya4pbap6as6cvz3-jailbreak-cabal-1.3.2.drv
/nix/store/l84ksmn5vj5pc9rg0y1av5przvyc93k9-parsec-3.1.11.drv
/nix/store/r5j56z2r76lv1qspsnf4ich7q9a56a9a-regex-tdfa-1.2.2.drv
/nix/store/svrc21z6sln94pzvqw31a17fnkdninjb-unbounded-delays-0.1.1.0.drv
/nix/store/kili84xnbd7zpm3djddyrgz8kpc673ds-tasty-0.11.2.5.drv
/nix/store/1rm6d2p3yxfmdqw8dgf0n6wc4xdnl4s0-tasty-hunit-0.9.2.drv
/nix/store/f2hl7v37b35cb4fcrfkcr2vm5c4yr0z1-test-framework-quickcheck2-0.3.0.4.drv
/nix/store/sa5wp89js3f52krbm6yszn47szfy1hm1-SHA-1.6.4.2.drv
/nix/store/ix0zsbw43y68mc9hss2wjymxiyyqf0bk-pcre-light-0.4.0.4.drv
/nix/store/vw55gagkl5vf0ma00dg5x8dimhf7hj1n-tasty-quickcheck-0.8.4.drv
/nix/store/yj7s7gv7r3rmd90diaz8hd659jqqpbrl-base16-bytestring-0.1.1.6.drv
/nix/store/06kxlwr916vj1iaq95fk87nf9cd8zazf-cryptohash-sha256-0.11.100.1.drv
/nix/store/6ilh8q9rpz8b83q77pj5pyqphvglc5lp-echo-0.1.3.drv
/nix/store/g1wz3idwrrqpp97qrja5bhqj0bff7r7a-hashable-1.2.6.1.drv
/nix/store/h168ln51qvy5472zsxmx5s2h6yd7avxg-tar-0.5.0.3.drv
/nix/store/h4y2n38894556qsqz464pbjbk76rk4gf-zlib-0.6.1.2.drv
/nix/store/hyj4p0ls61iamz6icymjbhjwgw811xqz-network-2.6.3.2.drv
/nix/store/k673xpsipimdhqlgxmk86av1gbpnldp8-network-uri-2.6.1.0.drv
/nix/store/l88mw24jc9wfah5skdgway8qfvr5n569-Cabal-2.0.0.2.drv
/nix/store/q71ql6mc903n23bbyhg8i8wmq9ly95hn-HTTP-4000.3.7.drv
/nix/store/r8zs7dafxlzc3nvxhii3aflizp39wc4y-edit-distance-0.2.2.1.drv
/nix/store/662q8iyfmwz8g006s1lv029cdxy33v19-base64-bytestring-1.0.0.1.drv
/nix/store/y6qys531arna7896imzq8sfi3iwszabz-ed25519-0.0.5.0.drv
/nix/store/rvs6ablc8fc91ydvsy5zq34j6904hrml-hackage-security-0.5.2.2.drv
/nix/store/3ck6p8dxw7j2lamxwz64cdk1m6i4ayxw-cabal-install-2.0.0.0.drv
/nix/store/z767pb4wiqx3wxkmprg902x7jipshj4s-ghc-8.0.2-with-packages.drv
these paths will be fetched (0.24 MiB download, 0.79 MiB unpacked):
/nix/store/5msh3admq3s7ks70g2h57z9i4k08a4bv-pcre-8.40-bin
/nix/store/6x3hvzpdfvxf4cbv1s6n0l136466wckl-hook
/nix/store/bc4q383pq4s7pdx762kcbhvq5hs2m77l-pcre-8.40-dev
/nix/store/mzhpy1nbkzk21k17cba7m8vv909g9wwv-lndir-1.0.3
/nix/store/r8gxkarsxkj9k2swhmawdnddxmsfb9wb-pkg-config-0.29.2
/nix/store/ycq1awr80pwnbkcwaij2wc3ncg3ds0da-hook
fetching path ‘/nix/store/6x3hvzpdfvxf4cbv1s6n0l136466wckl-hook’...
fetching path ‘/nix/store/mzhpy1nbkzk21k17cba7m8vv909g9wwv-lndir-1.0.3’...
building path(s) ‘/nix/store/iypsdny45b51sv6zizs49q74m2dpnk26-remove-references-to’
fetching path ‘/nix/store/r8gxkarsxkj9k2swhmawdnddxmsfb9wb-pkg-config-0.29.2’...
*** Downloading ‘https://cache.nixos.org/nar/0b0dp6i8cw0ar9mx1fp9kj39q1hjlc1s2srrm63bcwxvi21xm39s.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/6x3hvzpdfvxf4cbv1s6n0l136466wckl-hook’...
*** Downloading ‘https://cache.nixos.org/nar/19hh52w6kraklpzdka811zkgx28madd56svgvpc25kf8n70kr31r.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/mzhpy1nbkzk21k17cba7m8vv909g9wwv-lndir-1.0.3’...
*** Downloading ‘https://cache.nixos.org/nar/005674iqgzf0pvxbwqx5nlp044gn3ahzal1ai0cvp83hhwpa49xk.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/r8gxkarsxkj9k2swhmawdnddxmsfb9wb-pkg-config-0.29.2’...
% Total % Received % Xferd Average Speed Time Time % Total % Received % Xferd Average Speed Time Time Time Cu % Total % Received % Xferd Average Speed Time Time Time C Time Current
rrent
Dload Upl oad Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- urrent
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 1:11:35 --:--:-- 0fetching path ‘/nix/store/5msh3admq3s7ks70g2h57z9i4k08a4bv-pcre-8.40-bin’...
100 456 0 456 0 0 0 0 --:--:-- 1:11:35 --:--:-- 653
*** Downloading ‘https://cache.nixos.org/nar/0n09j6p2jhza614h8k8cg244ddyz233hs7lkpc0qz03r74wg79sz.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/5msh3admq3s7ks70g2h57z9i4k08a4bv-pcre-8.40-bin’...
building path(s) ‘/nix/store/ldhz3d8skpfv1551y698ndk7q2y6q4ad-hscolour-1.24.1-data’, ‘/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1’
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5540 100 5540 0 0 5540 0 0:00:01 0:00:01 --:--:-- 5241
fetching path ‘/nix/store/ycq1awr80pwnbkcwaij2wc3ncg3ds0da-hook’...
setupCompilerEnvironmentPhase
Build with /nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2.
0 193k 0 0 0 0 0 0 --:--:-- 1:11:36 --:--:-- 0
*** Downloading ‘https://cache.nixos.org/nar/1w1n4v642m18iawc403k9h4m8ija1xap4gfvj24bnjqcc4j36600.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/ycq1awr80pwnbkcwaij2wc3ncg3ds0da-hook’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 193k 100 193k 0 0 46 0 1:11:43 1:11:36 0:00:07 121k
building path(s) ‘/nix/store/27f8zi9xniyf3hkzvqzb78f0i2zzz39h-jailbreak-cabal-1.3.2-libexec’, ‘/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2’, ‘/nix/store/a9mnf1y8iyn5m6rnjgy4315gj43y4m5a-jailbreak-cabal-1.3.2-bin’, ‘/nix/store/r39c10ykdr978ysfrdkj5a810ffc6r8r-jailbreak-cabal-1.3.2-doc’, ‘/nix/store/zzr19qx7igch8ms3xrvvng5ksnpfqvh1-jailbreak-cabal-1.3.2-etc’
setupCompilerEnvironmentPhase
Build with /nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2.
100 40320 100 40320 0 0 40320 0 0:00:01 0:00:01 --:--:-- 31328
fetching path ‘/nix/store/bc4q383pq4s7pdx762kcbhvq5hs2m77l-pcre-8.40-dev’...
*** Downloading ‘https://cache.nixos.org/nar/1z8r148cc5dx29jv20a1cz97syrckm5jnp984z3x7kb6rrv4vknb.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/bc4q383pq4s7pdx762kcbhvq5hs2m77l-pcre-8.40-dev’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1708 100 1708 0 0 1708 0 0:00:01 0:00:01 --:--:-- 1608
100 7932 100 7932 0 0 7932 0 0:00:01 --:--:-- 0:00:01 10002
unpacking sources
unpacking sources
unpacking source archive /nix/store/c2vl55kfqh7nczarh6hk4zic2sbwjj0k-hscolour-1.24.1.tar.gz
unpacking source archive /nix/store/qdzq366jxz6hh0srvm92q964x9w8frb6-jailbreak-cabal-1.3.2.tar.gz
source root is jailbreak-cabal-1.3.2
source root is hscolour-1.24.1
setting SOURCE_DATE_EPOCH to timestamp 1483722960 of file jailbreak-cabal-1.3.2/jailbreak-cabal.cabal
setting SOURCE_DATE_EPOCH to timestamp 1466681385 of file hscolour-1.24.1/hscolour.css
patching sources
patching sources
compileBuildDriverPhase
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/tmp/nix-build-hscolour-1.24.1.drv-0/package.conf.d -j1 -threaded
setupCompileFlags: -package-db=/private/tmp/nix-build-jailbreak-cabal-1.3.2.drv-0/package.conf.d -j1 -threaded
[1 of 1] Compiling Main ( Setup.hs, /private/tmp/nix-build-hscolour-1.24.1.drv-0/Main.o )
[1 of 1] Compiling Main ( Setup.hs, /private/tmp/nix-build-jailbreak-cabal-1.3.2.drv-0/Main.o )
Linking Setup ...
Linking Setup ...
configuring
configuring
configureFlags: --verbose --prefix=/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2 --bindir=/nix/store/a9mnf1y8iyn5m6rnjgy4315gj43y4m5a-jailbreak-cabal-1.3.2-bin/bin --libdir=/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2/lib/ghc-8.0.2 --libsubdir=$pkgid --libexecdir=/nix/store/27f8zi9xniyf3hkzvqzb78f0i2zzz39h-jailbreak-cabal-1.3.2-libexec/bin --sysconfdir=/nix/store/zzr19qx7igch8ms3xrvvng5ksnpfqvh1-jailbreak-cabal-1.3.2-etc/etc --datadir=/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2/share/ghc-8.0.2 --docdir=/nix/store/r39c10ykdr978ysfrdkj5a810ffc6r8r-jailbreak-cabal-1.3.2-doc/share/doc --with-gcc=clang --package-db=/private/tmp/nix-build-jailbreak-cabal-1.3.2.drv-0/package.conf.d --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --disable-executable-dynamic --enable-tests --extra-include-dirs=/nix/store/q9s3wkah9i5npwcz4i853jnz92sj9wap-libc++-4.0.1/include --extra-lib-dirs=/nix/store/q9s3wkah9i5npwcz4i853jnz92sj9wap-libc++-4.0.1/lib
configureFlags: --verbose --prefix=/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1 --bindir=/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/bin --libdir=/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/lib/ghc-8.0.2 --libsubdir=$pkgid --libexecdir=/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/libexec --datadir=/nix/store/ldhz3d8skpfv1551y698ndk7q2y6q4ad-hscolour-1.24.1-data/share/ghc-8.0.2 --docdir=/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/share/doc --with-gcc=clang --package-db=/private/tmp/nix-build-hscolour-1.24.1.drv-0/package.conf.d --ghc-option=-optl=-Wl,-headerpad_max_install_names --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --enable-executable-dynamic --enable-tests --extra-include-dirs=/nix/store/q9s3wkah9i5npwcz4i853jnz92sj9wap-libc++-4.0.1/include --extra-lib-dirs=/nix/store/q9s3wkah9i5npwcz4i853jnz92sj9wap-libc++-4.0.1/lib
Configuring hscolour-1.24.1...
Dependency base <10: using base-4.9.1.0
Dependency containers -any: using containers-0.5.7.1
Configuring jailbreak-cabal-1.3.2...
Dependency Cabal ==1.20.* || >=1.23: using Cabal-1.24.2.0
Dependency base >=3 && <5: using base-4.9.1.0
Using Cabal-1.24.2.0 compiled by ghc-8.0
Using compiler: ghc-8.0.2
Using install prefix:
/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1
Binaries installed in:
/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/bin
Libraries installed in:
/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/lib/ghc-8.0.2/hscolour-1.24.1
Dynamic libraries installed in:
/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/lib/ghc-8.0.2/x86_64-osx-ghc-8.0.2
Private binaries installed in:
/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/libexec
Data files installed in:
/nix/store/ldhz3d8skpfv1551y698ndk7q2y6q4ad-hscolour-1.24.1-data/share/ghc-8.0.2/x86_64-osx-ghc-8.0.2/hscolour-1.24.1
Documentation installed in:
/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/share/doc
Configuration files installed in:
/nix/store/xfn4bnhm3nkgakimm83mzrf1g1fx8m84-hscolour-1.24.1/etc
No alex found
Using ar found on system at:
/nix/store/ngh3yh3pzyibkbcxxzx9wj0qpw8h8k5m-cctools-binutils-darwin/bin/ar
No c2hs found
No cpphs found
Using gcc version 4.2.1 given by user at:
/nix/store/rl30ximwqaj8fpxhqpr4hsawjs7v5zmf-clang-wrapper-4.0.1/bin/clang
Using ghc version 8.0.2 found on system at:
/nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/bin/ghc
Using ghc-pkg version 8.0.2 found on system at:
/nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.17.3 found on system at:
/nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/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/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/bin/hpc
Using hsc2hs version 0.68.1 found on system at:
/nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at:
/nix/store/rl30ximwqaj8fpxhqpr4hsawjs7v5zmf-clang-wrapper-4.0.1/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using strip found on system at:
/nix/store/ngh3yh3pzyibkbcxxzx9wj0qpw8h8k5m-cctools-binutils-darwin/bin/strip
Using tar found on system at:
/nix/store/cc5183dc8z7jzc4hyixzchsqqq4kg6dn-gnutar-1.29/bin/tar
No uhc found
Using Cabal-1.24.2.0 compiled by ghc-8.0
Using compiler: ghc-8.0.2
Using install prefix:
/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2
Binaries installed in:
/nix/store/a9mnf1y8iyn5m6rnjgy4315gj43y4m5a-jailbreak-cabal-1.3.2-bin/bin
Libraries installed in:
/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2/lib/ghc-8.0.2/jailbreak-cabal-1.3.2
Dynamic libraries installed in:
/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2/lib/ghc-8.0.2/x86_64-osx-ghc-8.0.2
Private binaries installed in:
/nix/store/27f8zi9xniyf3hkzvqzb78f0i2zzz39h-jailbreak-cabal-1.3.2-libexec/bin
Data files installed in:
/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2/share/ghc-8.0.2/x86_64-osx-ghc-8.0.2/jailbreak-cabal-1.3.2
Documentation installed in:
/nix/store/r39c10ykdr978ysfrdkj5a810ffc6r8r-jailbreak-cabal-1.3.2-doc/share/doc
Configuration files installed in:
/nix/store/zzr19qx7igch8ms3xrvvng5ksnpfqvh1-jailbreak-cabal-1.3.2-etc/etc
No alex found
Using ar found on system at:
/nix/store/ngh3yh3pzyibkbcxxzx9wj0qpw8h8k5m-cctools-binutils-darwin/bin/ar
No c2hs found
No cpphs found
Using gcc version 4.2.1 given by user at:
/nix/store/rl30ximwqaj8fpxhqpr4hsawjs7v5zmf-clang-wrapper-4.0.1/bin/clang
Using ghc version 8.0.2 found on system at:
/nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/bin/ghc
Using ghc-pkg version 8.0.2 found on system at:
/nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.17.3 found on system at:
/nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/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/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/bin/hpc
Using hsc2hs version 0.68.1 found on system at:
/nix/store/hhmlcjdlf4mnw58h61283ghj6p7hpf6c-ghc-8.0.2/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at:
/nix/store/rl30ximwqaj8fpxhqpr4hsawjs7v5zmf-clang-wrapper-4.0.1/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using strip found on system at:
/nix/store/ngh3yh3pzyibkbcxxzx9wj0qpw8h8k5m-cctools-binutils-darwin/bin/strip
Using tar found on system at:
/nix/store/cc5183dc8z7jzc4hyixzchsqqq4kg6dn-gnutar-1.29/bin/tar
No uhc found
building
building
Building hscolour-1.24.1...
Building jailbreak-cabal-1.3.2...
Preprocessing library hscolour-1.24.1...
Preprocessing executable 'jailbreak-cabal' for jailbreak-cabal-1.3.2...
[ 1 of 16] Compiling Language.Haskell.HsColour.Output ( Language/Haskell/HsColour/Output.hs, dist/build/Language/Haskell/HsColour/Output.o )
[1 of 1] Compiling Main ( Main.hs, dist/build/jailbreak-cabal/jailbreak-cabal-tmp/Main.o )
[ 2 of 16] Compiling Language.Haskell.HsColour.Options ( Language/Haskell/HsColour/Options.hs, dist/build/Language/Haskell/HsColour/Options.o )
Language/Haskell/HsColour/Options.hs:11:9: warning: [-Wtabs]
Tab character found here, and in 12 further locations.
Please use spaces instead.
[ 3 of 16] Compiling Language.Haskell.HsColour.General ( Language/Haskell/HsColour/General.hs, dist/build/Language/Haskell/HsColour/General.o )
[ 4 of 16] Compiling Language.Haskell.HsColour.ColourHighlight ( Language/Haskell/HsColour/ColourHighlight.hs, dist/build/Language/Haskell/HsColour/ColourHighlight.o )
Linking dist/build/jailbreak-cabal/jailbreak-cabal ...
[ 5 of 16] Compiling Language.Haskell.HsColour.Classify ( Language/Haskell/HsColour/Classify.hs, dist/build/Language/Haskell/HsColour/Classify.o )
Language/Haskell/HsColour/Classify.hs:52:18: warning: [-Wtabs]
Tab character found here, and in six further locations.
Please use spaces instead.
[ 6 of 16] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, dist/build/Language/Haskell/HsColour/Colourise.o )
running tests
Package has no test suites.
haddockPhase
installing
Installing executable(s) in
/nix/store/a9mnf1y8iyn5m6rnjgy4315gj43y4m5a-jailbreak-cabal-1.3.2-bin/bin
Warning: The directory
/nix/store/a9mnf1y8iyn5m6rnjgy4315gj43y4m5a-jailbreak-cabal-1.3.2-bin/bin is
not in the system search path.
post-installation fixup
stripping (with flags -S) in /nix/store/a9mnf1y8iyn5m6rnjgy4315gj43y4m5a-jailbreak-cabal-1.3.2-bin/bin
patching script interpreter paths in /nix/store/a9mnf1y8iyn5m6rnjgy4315gj43y4m5a-jailbreak-cabal-1.3.2-bin
stripping (with flags -S) in /nix/store/27f8zi9xniyf3hkzvqzb78f0i2zzz39h-jailbreak-cabal-1.3.2-libexec/bin
patching script interpreter paths in /nix/store/27f8zi9xniyf3hkzvqzb78f0i2zzz39h-jailbreak-cabal-1.3.2-libexec
stripping (with flags -S) in /nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2/lib
patching script interpreter paths in /nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2
patching script interpreter paths in /nix/store/r39c10ykdr978ysfrdkj5a810ffc6r8r-jailbreak-cabal-1.3.2-doc
patching script interpreter paths in /nix/store/zzr19qx7igch8ms3xrvvng5ksnpfqvh1-jailbreak-cabal-1.3.2-etc
cycle detected in the references of ‘/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2’
cannot build derivation ‘/nix/store/l84ksmn5vj5pc9rg0y1av5przvyc93k9-parsec-3.1.11.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/z767pb4wiqx3wxkmprg902x7jipshj4s-ghc-8.0.2-with-packages.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/z767pb4wiqx3wxkmprg902x7jipshj4s-ghc-8.0.2-with-packages.drv’ failed
/nix/var/nix/profiles/default/bin/nix-shell: failed to build all dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment