-
-
Save cocreature/12a4d80cfe5c73aa6ec36b7add413e4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ rev ? "3b1e15140c574c01ae25835b934fe71be3376877", | |
outputSha256 ? "1zhwgdg22njp7fsjw8gqcll2fc5kdxgfq12lzmcz8qakvnwra3fy" | |
}: | |
let | |
nixpkgs = builtins.fetchTarball { | |
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz"; | |
sha256 = outputSha256; | |
}; | |
pkgs = import nixpkgs {}; | |
haskellPkgs = pkgs.haskell.packages.ghc843.extend (self: super: { | |
llvm-hs-pure = super.callCabal2nix "llvm-hs-pure" ./llvm-hs-pure {}; | |
llvm-hs = super.callCabal2nix "llvm-hs" ./llvm-hs { llvm-config = pkgs.llvm_6.override(oldArgs: {debugVersion = true;}); }; | |
}); | |
in | |
(haskellPkgs.shellFor { | |
packages = p: [p.llvm-hs-pure p.llvm-hs]; | |
}).overrideAttrs (oldAttrs: { | |
buildInputs = [ | |
(pkgs.llvm_6.override(oldArgs: {debugVersion = true;})) | |
haskellPkgs.cabal-install | |
] ++ oldAttrs.buildInputs; | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unpacking 'https://github.com/NixOS/nixpkgs/archive/3b1e15140c574c01ae25835b934fe71be3376877.tar.gz'... | |
warning: dumping very large path (> 256 MiB); this may run out of memory | |
these derivations will be built: | |
/nix/store/0qcc48c4kg0cqp71712qs1xf6180irr2-cabal-install-2.2.0.0.drv | |
building '/nix/store/0qcc48c4kg0cqp71712qs1xf6180irr2-cabal-install-2.2.0.0.drv'... | |
setupCompilerEnvironmentPhase | |
Build with /nix/store/maymvx3bf7bibdvd48knkd6s614794y6-ghc-8.4.3. | |
ignoring (possibly broken) abi-depends field for packages | |
unpacking sources | |
unpacking source archive /nix/store/0qgrkxyj4m2lqm7vwv9n0ax75x4ya868-cabal-install-2.2.0.0.tar.gz | |
source root is cabal-install-2.2.0.0 | |
setting SOURCE_DATE_EPOCH to timestamp 1522249589 of file cabal-install-2.2.0.0/tests/UnitTests/Options.hs | |
patching sources | |
Replace Cabal file with edited version from http://hackage.haskell.org/package/cabal-install-2.2.0.0/revision/1.cabal. | |
compileBuildDriverPhase | |
setupCompileFlags: -package-db=/build/package.conf.d -j2 -threaded | |
GHC_PACKAGE_PATH=/build/setup-package.conf.d: | |
[1 of 1] Compiling Main ( Setup.hs, /build/Main.o ) | |
Linking Setup ... | |
configuring | |
configureFlags: --verbose --prefix=/nix/store/2qb24pyc7mprv3v2536zswl6vplqpigi-cabal-install-2.2.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/xig0xwslg10krzbd80az5bxxsp3q70m4-cabal-install-2.2.0.0-doc/share/doc --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j2 --disable-split-objs --enable-library-profiling --profiling-detail=all-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --disable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/fr9a6l744pzn2nc68ayksl1v4400r27w-ncurses-6.1/lib --extra-lib-dirs=/nix/store/14nlrnm6bv7z25c9ismlhc2mrxsriyq2-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/fr9a6l744pzn2nc68ayksl1v4400r27w-ncurses-6.1/lib | |
Using Parsec parser | |
Configuring cabal-install-2.2.0.0... | |
Flags chosen: debug-conflict-sets=False, debug-expensive-assertions=False, | |
debug-tracetree=False, lib=False, monolithic=False, native-dns=True | |
Dependency Cabal ==2.2.*: using Cabal-2.2.0.1 | |
Dependency HTTP >=4000.1.5 && <4000.4: using HTTP-4000.3.11 | |
Dependency array >=0.4 && <0.6: using array-0.5.2.0 | |
Dependency async >=2.0 && <2.3: using async-2.1.1.1 | |
Dependency base >=4.6 && <5: using base-4.11.1.0 | |
Dependency base16-bytestring >=0.1.1 && <0.2: using base16-bytestring-0.1.1.6 | |
Dependency binary >=0.7 && <0.9: using binary-0.8.5.1 | |
Dependency bytestring >=0.10.2 && <0.11: using bytestring-0.10.8.2 | |
Dependency containers >=0.4 && <0.6: using containers-0.5.11.0 | |
Dependency cryptohash-sha256 ==0.11.*: using cryptohash-sha256-0.11.101.0 | |
Dependency deepseq >=1.3 && <1.5: using deepseq-1.4.3.0 | |
Dependency directory >=1.2.2.0 && <1.4: using directory-1.3.1.5 | |
Dependency echo >=0.1.3 && <0.2: using echo-0.1.3 | |
Dependency edit-distance >=0.2.2 && <0.3: using edit-distance-0.2.2.1 | |
Dependency filepath >=1.3 && <1.5: using filepath-1.4.2 | |
Dependency hackage-security >=0.5.2.2 && <0.6: using hackage-security-0.5.3.0 | |
Dependency hashable >=1.0 && <1.3: using hashable-1.2.7.0 | |
Dependency mtl >=2.0 && <2.3: using mtl-2.2.2 | |
Dependency network ==2.6.*: using network-2.6.3.5 | |
Dependency network-uri ==2.6.*: using network-uri-2.6.1.0 | |
Dependency pretty ==1.1.*: using pretty-1.1.3.6 | |
Dependency process >=1.2 && <1.7: using process-1.6.3.0 | |
Dependency random >=1 && <1.2: using random-1.1 | |
Dependency resolv >=0.1.1 && <0.2: using resolv-0.1.1.1 | |
Dependency stm >=2.0 && <2.5: using stm-2.4.5.0 | |
Dependency tar >=0.5.0.3 && <0.6: using tar-0.5.1.0 | |
Dependency time >=1.4 && <1.9: using time-1.8.0.2 | |
Dependency unix >=2.5 && <2.8: using unix-2.7.2.2 | |
Dependency zlib >=0.5.3 && <0.7: using zlib-0.6.2 | |
Source component graph: component exe:cabal | |
Configured component graph: | |
component cabal-install-2.2.0.0-CoTCQsUAJ6x76lwAjEerfP-cabal | |
include async-2.1.1.1-KilDSRYXYeu71R0DikW50A | |
include array-0.5.2.0 | |
include base-4.11.1.0 | |
include base16-bytestring-0.1.1.6-I0igvRcEwRNBMqqPC2yQBh | |
include binary-0.8.5.1 | |
include bytestring-0.10.8.2 | |
include Cabal-2.2.0.1 | |
include containers-0.5.11.0 | |
include cryptohash-sha256-0.11.101.0-5CO9AFPvemHGgff3tAvBC6 | |
include deepseq-1.4.3.0 | |
include directory-1.3.1.5 | |
include echo-0.1.3-G7cuM0pWhoYJlNCMI5dtUe | |
include edit-distance-0.2.2.1-EfhhjJV0ud82bNaFabQrPX | |
include filepath-1.4.2 | |
include hashable-1.2.7.0-GsUresbfcnzGXsI0RpZjur | |
include HTTP-4000.3.11-BhOZk6cLQFXGEBQQukmYR5 | |
include mtl-2.2.2 | |
include network-2.6.3.5-KRUHdZVTiS3A3GORvAHWL3 | |
include network-uri-2.6.1.0-KgIIHh6g3C5BURQDSp0eYJ | |
include pretty-1.1.3.6 | |
include process-1.6.3.0 | |
include random-1.1-9LLJAJa4iQFLJiLXBOBXBV | |
include stm-2.4.5.0 | |
include tar-0.5.1.0-5HrFyZlpKeAI6XvXje12oT | |
include time-1.8.0.2 | |
include zlib-0.6.2-FP80mWgJNoyCiVcPtw6kKj | |
include hackage-security-0.5.3.0-2nbBGnz0c9K55PQzv6EY1 | |
include resolv-0.1.1.1-JE0F05VqIRvJXa0qbVDgHe | |
include unix-2.7.2.2 | |
Linked component graph: | |
unit cabal-install-2.2.0.0-CoTCQsUAJ6x76lwAjEerfP-cabal | |
include async-2.1.1.1-KilDSRYXYeu71R0DikW50A | |
include array-0.5.2.0 | |
include base-4.11.1.0 | |
include base16-bytestring-0.1.1.6-I0igvRcEwRNBMqqPC2yQBh | |
include binary-0.8.5.1 | |
include bytestring-0.10.8.2 | |
include Cabal-2.2.0.1 | |
include containers-0.5.11.0 | |
include cryptohash-sha256-0.11.101.0-5CO9AFPvemHGgff3tAvBC6 | |
include deepseq-1.4.3.0 | |
include directory-1.3.1.5 | |
include echo-0.1.3-G7cuM0pWhoYJlNCMI5dtUe | |
include edit-distance-0.2.2.1-EfhhjJV0ud82bNaFabQrPX | |
include filepath-1.4.2 | |
include hashable-1.2.7.0-GsUresbfcnzGXsI0RpZjur | |
include HTTP-4000.3.11-BhOZk6cLQFXGEBQQukmYR5 | |
include mtl-2.2.2 | |
include network-2.6.3.5-KRUHdZVTiS3A3GORvAHWL3 | |
include network-uri-2.6.1.0-KgIIHh6g3C5BURQDSp0eYJ | |
include pretty-1.1.3.6 | |
include process-1.6.3.0 | |
include random-1.1-9LLJAJa4iQFLJiLXBOBXBV | |
include stm-2.4.5.0 | |
include tar-0.5.1.0-5HrFyZlpKeAI6XvXje12oT | |
include time-1.8.0.2 | |
include zlib-0.6.2-FP80mWgJNoyCiVcPtw6kKj | |
include hackage-security-0.5.3.0-2nbBGnz0c9K55PQzv6EY1 | |
include resolv-0.1.1.1-JE0F05VqIRvJXa0qbVDgHe | |
include unix-2.7.2.2 | |
Ready component graph: | |
definite cabal-install-2.2.0.0-CoTCQsUAJ6x76lwAjEerfP-cabal | |
depends async-2.1.1.1-KilDSRYXYeu71R0DikW50A | |
depends array-0.5.2.0 | |
depends base-4.11.1.0 | |
depends base16-bytestring-0.1.1.6-I0igvRcEwRNBMqqPC2yQBh | |
depends binary-0.8.5.1 | |
depends bytestring-0.10.8.2 | |
depends Cabal-2.2.0.1 | |
depends containers-0.5.11.0 | |
depends cryptohash-sha256-0.11.101.0-5CO9AFPvemHGgff3tAvBC6 | |
depends deepseq-1.4.3.0 | |
depends directory-1.3.1.5 | |
depends echo-0.1.3-G7cuM0pWhoYJlNCMI5dtUe | |
depends edit-distance-0.2.2.1-EfhhjJV0ud82bNaFabQrPX | |
depends filepath-1.4.2 | |
depends hashable-1.2.7.0-GsUresbfcnzGXsI0RpZjur | |
depends HTTP-4000.3.11-BhOZk6cLQFXGEBQQukmYR5 | |
depends mtl-2.2.2 | |
depends network-2.6.3.5-KRUHdZVTiS3A3GORvAHWL3 | |
depends network-uri-2.6.1.0-KgIIHh6g3C5BURQDSp0eYJ | |
depends pretty-1.1.3.6 | |
depends process-1.6.3.0 | |
depends random-1.1-9LLJAJa4iQFLJiLXBOBXBV | |
depends stm-2.4.5.0 | |
depends tar-0.5.1.0-5HrFyZlpKeAI6XvXje12oT | |
depends time-1.8.0.2 | |
depends zlib-0.6.2-FP80mWgJNoyCiVcPtw6kKj | |
depends hackage-security-0.5.3.0-2nbBGnz0c9K55PQzv6EY1 | |
depends resolv-0.1.1.1-JE0F05VqIRvJXa0qbVDgHe | |
depends unix-2.7.2.2 | |
Warning: | |
This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure. | |
package cabal-install (cabal-install-2.2.0.0) requires Cabal-2.2.0.1 | |
package hackage-security (hackage-security-0.5.3.0-2nbBGnz0c9K55PQzv6EY1) requires Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI | |
Using Cabal-2.2.0.1 compiled by ghc-8.4 | |
Using compiler: ghc-8.4.3 | |
Using install prefix: | |
/nix/store/2qb24pyc7mprv3v2536zswl6vplqpigi-cabal-install-2.2.0.0 | |
Executables installed in: | |
/nix/store/2qb24pyc7mprv3v2536zswl6vplqpigi-cabal-install-2.2.0.0/bin | |
Libraries installed in: | |
/nix/store/2qb24pyc7mprv3v2536zswl6vplqpigi-cabal-install-2.2.0.0/lib/ghc-8.4.3/cabal-install-2.2.0.0 | |
Dynamic Libraries installed in: | |
/nix/store/2qb24pyc7mprv3v2536zswl6vplqpigi-cabal-install-2.2.0.0/lib/ghc-8.4.3/x86_64-linux-ghc-8.4.3 | |
Private executables installed in: | |
/nix/store/2qb24pyc7mprv3v2536zswl6vplqpigi-cabal-install-2.2.0.0/libexec/x86_64-linux-ghc-8.4.3/cabal-install-2.2.0.0 | |
Data files installed in: | |
/nix/store/2qb24pyc7mprv3v2536zswl6vplqpigi-cabal-install-2.2.0.0/share/x86_64-linux-ghc-8.4.3/cabal-install-2.2.0.0 | |
Documentation installed in: | |
/nix/store/xig0xwslg10krzbd80az5bxxsp3q70m4-cabal-install-2.2.0.0-doc/share/doc | |
Configuration files installed in: | |
/nix/store/2qb24pyc7mprv3v2536zswl6vplqpigi-cabal-install-2.2.0.0/etc | |
No alex found | |
Using ar found on system at: | |
/nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/ar | |
No c2hs found | |
No cpphs found | |
No doctest found | |
Using gcc version 7.3.0 given by user at: | |
/nix/store/vhg71q6zx8xbb851kyah0flyjjglapq7-gcc-wrapper-7.3.0/bin/gcc | |
Using ghc version 8.4.3 found on system at: | |
/nix/store/maymvx3bf7bibdvd48knkd6s614794y6-ghc-8.4.3/bin/ghc | |
Using ghc-pkg version 8.4.3 found on system at: | |
/nix/store/maymvx3bf7bibdvd48knkd6s614794y6-ghc-8.4.3/bin/ghc-pkg | |
No ghcjs found | |
No ghcjs-pkg found | |
No greencard found | |
Using haddock version 2.20.0 found on system at: | |
/nix/store/maymvx3bf7bibdvd48knkd6s614794y6-ghc-8.4.3/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/maymvx3bf7bibdvd48knkd6s614794y6-ghc-8.4.3/bin/hpc | |
Using hsc2hs version 0.68.3 found on system at: | |
/nix/store/maymvx3bf7bibdvd48knkd6s614794y6-ghc-8.4.3/bin/hsc2hs | |
Using hscolour version 1.24 found on system at: | |
/nix/store/ynpv8ww4hlc1wl5vdwvkm07y0r5cy99a-hscolour-1.24.4/bin/HsColour | |
No jhc found | |
Using ld found on system at: | |
/nix/store/yj9p0rmq6phvg5x653zl9f138pm7cnzg-binutils-wrapper-2.30/bin/ld | |
No lhc found | |
No lhc-pkg found | |
No pkg-config found | |
Using runghc version 8.4.3 found on system at: | |
/nix/store/maymvx3bf7bibdvd48knkd6s614794y6-ghc-8.4.3/bin/runghc | |
Using strip version 2.30 found on system at: | |
/nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip | |
Using tar found on system at: | |
/nix/store/fjh974kzdcab7yp0ibmwwymmgbi6cg59-gnutar-1.30/bin/tar | |
No uhc found | |
*** abort because of serious configure-time warning from Cabal | |
builder for '/nix/store/0qcc48c4kg0cqp71712qs1xf6180irr2-cabal-install-2.2.0.0.drv' failed with exit code 1 | |
error: build of '/nix/store/0qcc48c4kg0cqp71712qs1xf6180irr2-cabal-install-2.2.0.0.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment