Skip to content

Instantly share code, notes, and snippets.

@FlorianKoegler
Created June 26, 2018 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianKoegler/f028c7e63e3068fb70fd7f7ebbfb7564 to your computer and use it in GitHub Desktop.
Save FlorianKoegler/f028c7e63e3068fb70fd7f7ebbfb7564 to your computer and use it in GitHub Desktop.
Welcome to Nix version 2.0. Type :? for help.
Loading '<nixpkgs>'...
Added 8554 variables.
nix-repl> haskell.lib.doJailbreak haskellPackages.diagrams-pandoc
«derivation /nix/store/kscs3cycglsjwffhpshl5xkrwgy34qd0-diagrams-pandoc-0.3.drv»
nix-repl> :b haskell.lib.doJailbreak haskellPackages.diagrams-pandoc
these derivations will be built:
/nix/store/kscs3cycglsjwffhpshl5xkrwgy34qd0-diagrams-pandoc-0.3.drv
these paths will be fetched (2.64 MiB download, 20.33 MiB unpacked):
/nix/store/ykhwaf915kvlk17iyfbxbglakajzr8ms-jailbreak-cabal-1.3.2
copying path '/nix/store/ykhwaf915kvlk17iyfbxbglakajzr8ms-jailbreak-cabal-1.3.2' from 'https://cache.nixos.org'...
building '/nix/store/kscs3cycglsjwffhpshl5xkrwgy34qd0-diagrams-pandoc-0.3.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/plm7fql53l3kzijzafzqri398jd9s59f-ghc-8.2.2.
unpacking sources
unpacking source archive /nix/store/jwqmnfy4891mhpf97s20x4ffi60mw0az-diagrams-pandoc-0.3.tar.gz
source root is diagrams-pandoc-0.3
setting SOURCE_DATE_EPOCH to timestamp 1456238907 of file diagrams-pandoc-0.3/diagrams-pandoc.cabal
patching sources
Run jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/tmp/nix-build-diagrams-pandoc-0.3.drv-0/package.conf.d -j2 -threaded
[1 of 1] Compiling Main ( Setup.hs, /private/tmp/nix-build-diagrams-pandoc-0.3.drv-0/Main.o )
Linking Setup ...
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
configuring
configureFlags: --verbose --prefix=/nix/store/hgwk92wq0nhjknfrvaaxv89s7iawbakd-diagrams-pandoc-0.3 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/n0xfa2ygwayfjkbkn29vjgvmz7hzi7n8-diagrams-pandoc-0.3-doc/share/doc --with-gcc=clang --package-db=/private/tmp/nix-build-diagrams-pandoc-0.3.drv-0/package.conf.d --ghc-option=-optl=-Wl,-headerpad_max_install_names --ghc-option=-j2 --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/j6ifwrr83k1c5nmjfx1p63nydpqsbqd6-libc++-5.0.1/include --extra-lib-dirs=/nix/store/j6ifwrr83k1c5nmjfx1p63nydpqsbqd6-libc++-5.0.1/lib --extra-lib-dirs=/nix/store/a67rhbgwb41j11j6mgww3y0gq4pg0lmp-ncurses-6.0-20171125/lib --extra-lib-dirs=/nix/store/lasa9z5jcwhq3djd3mw8q9b0a75da5as-gmp-6.1.2/lib --extra-include-dirs=/nix/store/5hymrhfv7zm20ackp3i3di2n7amnlvva-libiconv-osx-10.11.6/include --extra-lib-dirs=/nix/store/5hymrhfv7zm20ackp3i3di2n7amnlvva-libiconv-osx-10.11.6/lib --extra-include-dirs=/nix/store/5hymrhfv7zm20ackp3i3di2n7amnlvva-libiconv-osx-10.11.6/include --extra-lib-dirs=/nix/store/5hymrhfv7zm20ackp3i3di2n7amnlvva-libiconv-osx-10.11.6/lib --extra-include-dirs=/nix/store/zfrk1wjzzhg36jmhgmmbg3y1qfzf2hs2-apple-lib-xpc/include --extra-include-dirs=/nix/store/r5vgpicc9m7niyjxa0rc30raxyd58dsl-objc4-osx-10.11.6/include --extra-lib-dirs=/nix/store/r5vgpicc9m7niyjxa0rc30raxyd58dsl-objc4-osx-10.11.6/lib
Configuring diagrams-pandoc-0.3...
Dependency base -any: using base-4.10.1.0
Dependency diagrams-builder -any: using diagrams-builder-0.8.0.2
Dependency diagrams-cairo -any: using diagrams-cairo-1.4
Dependency diagrams-lib -any: using diagrams-lib-1.4.2
Dependency diagrams-pandoc -any: using diagrams-pandoc-0.3
Dependency directory -any: using directory-1.3.0.2
Dependency filepath -any: using filepath-1.4.1.2
Dependency linear -any: using linear-1.20.7
Dependency optparse-applicative -any: using optparse-applicative-0.14.1.0
Dependency pandoc-types -any: using pandoc-types-1.17.3.1
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
Source component graph:
component lib
component exe:diagrams-pandoc dependency lib
Configured component graph:
component diagrams-pandoc-0.3-D8SXB09z31zFe37yRZus0k
include base-4.10.1.0
include pandoc-types-1.17.3.1-OLOFxTrDFjLnr2vRSVFjD
include diagrams-lib-1.4.2-4gwHT2YRIdA2KSHQdqOkao
include linear-1.20.7-E7PyaFAoA3QJjLkaS3Y3bH
include diagrams-builder-0.8.0.2-KWw7KFc9qdx1c5oU7HLkF6
include diagrams-cairo-1.4-BLEAuUn8n7b3kt4UdekNLN
include directory-1.3.0.2
include filepath-1.4.1.2
component diagrams-pandoc-0.3-2IyollaBzleCjyjwTt7U6g-diagrams-pandoc
include base-4.10.1.0
include pandoc-types-1.17.3.1-OLOFxTrDFjLnr2vRSVFjD
include diagrams-lib-1.4.2-4gwHT2YRIdA2KSHQdqOkao
include linear-1.20.7-E7PyaFAoA3QJjLkaS3Y3bH
include diagrams-builder-0.8.0.2-KWw7KFc9qdx1c5oU7HLkF6
include diagrams-cairo-1.4-BLEAuUn8n7b3kt4UdekNLN
include directory-1.3.0.2
include filepath-1.4.1.2
include diagrams-pandoc-0.3-D8SXB09z31zFe37yRZus0k
include optparse-applicative-0.14.1.0-KCxaphY905zHOuw9zcLQEn
Linked component graph:
unit diagrams-pandoc-0.3-D8SXB09z31zFe37yRZus0k
include base-4.10.1.0
include pandoc-types-1.17.3.1-OLOFxTrDFjLnr2vRSVFjD
include diagrams-lib-1.4.2-4gwHT2YRIdA2KSHQdqOkao
include linear-1.20.7-E7PyaFAoA3QJjLkaS3Y3bH
include diagrams-builder-0.8.0.2-KWw7KFc9qdx1c5oU7HLkF6
include diagrams-cairo-1.4-BLEAuUn8n7b3kt4UdekNLN
include directory-1.3.0.2
include filepath-1.4.1.2
Text.Pandoc.Diagrams=diagrams-pandoc-0.3-D8SXB09z31zFe37yRZus0k:Text.Pandoc.Diagrams
unit diagrams-pandoc-0.3-2IyollaBzleCjyjwTt7U6g-diagrams-pandoc
include base-4.10.1.0
include pandoc-types-1.17.3.1-OLOFxTrDFjLnr2vRSVFjD
include diagrams-lib-1.4.2-4gwHT2YRIdA2KSHQdqOkao
include linear-1.20.7-E7PyaFAoA3QJjLkaS3Y3bH
include diagrams-builder-0.8.0.2-KWw7KFc9qdx1c5oU7HLkF6
include diagrams-cairo-1.4-BLEAuUn8n7b3kt4UdekNLN
include directory-1.3.0.2
include filepath-1.4.1.2
include diagrams-pandoc-0.3-D8SXB09z31zFe37yRZus0k
include optparse-applicative-0.14.1.0-KCxaphY905zHOuw9zcLQEn
Ready component graph:
definite diagrams-pandoc-0.3-D8SXB09z31zFe37yRZus0k
depends base-4.10.1.0
depends pandoc-types-1.17.3.1-OLOFxTrDFjLnr2vRSVFjD
depends diagrams-lib-1.4.2-4gwHT2YRIdA2KSHQdqOkao
depends linear-1.20.7-E7PyaFAoA3QJjLkaS3Y3bH
depends diagrams-builder-0.8.0.2-KWw7KFc9qdx1c5oU7HLkF6
depends diagrams-cairo-1.4-BLEAuUn8n7b3kt4UdekNLN
depends directory-1.3.0.2
depends filepath-1.4.1.2
definite diagrams-pandoc-0.3-2IyollaBzleCjyjwTt7U6g-diagrams-pandoc
depends base-4.10.1.0
depends pandoc-types-1.17.3.1-OLOFxTrDFjLnr2vRSVFjD
depends diagrams-lib-1.4.2-4gwHT2YRIdA2KSHQdqOkao
depends linear-1.20.7-E7PyaFAoA3QJjLkaS3Y3bH
depends diagrams-builder-0.8.0.2-KWw7KFc9qdx1c5oU7HLkF6
depends diagrams-cairo-1.4-BLEAuUn8n7b3kt4UdekNLN
depends directory-1.3.0.2
depends filepath-1.4.1.2
depends diagrams-pandoc-0.3-D8SXB09z31zFe37yRZus0k
depends optparse-applicative-0.14.1.0-KCxaphY905zHOuw9zcLQEn
Using Cabal-2.0.1.0 compiled by ghc-8.2
Using compiler: ghc-8.2.2
Using install prefix:
/nix/store/hgwk92wq0nhjknfrvaaxv89s7iawbakd-diagrams-pandoc-0.3
Executables installed in:
/nix/store/hgwk92wq0nhjknfrvaaxv89s7iawbakd-diagrams-pandoc-0.3/bin
Libraries installed in:
/nix/store/hgwk92wq0nhjknfrvaaxv89s7iawbakd-diagrams-pandoc-0.3/lib/ghc-8.2.2/diagrams-pandoc-0.3
Dynamic Libraries installed in:
/nix/store/hgwk92wq0nhjknfrvaaxv89s7iawbakd-diagrams-pandoc-0.3/lib/ghc-8.2.2/x86_64-osx-ghc-8.2.2
Private executables installed in:
/nix/store/hgwk92wq0nhjknfrvaaxv89s7iawbakd-diagrams-pandoc-0.3/libexec/x86_64-osx-ghc-8.2.2/diagrams-pandoc-0.3
Data files installed in:
/nix/store/hgwk92wq0nhjknfrvaaxv89s7iawbakd-diagrams-pandoc-0.3/share/x86_64-osx-ghc-8.2.2/diagrams-pandoc-0.3
Documentation installed in:
/nix/store/n0xfa2ygwayfjkbkn29vjgvmz7hzi7n8-diagrams-pandoc-0.3-doc/share/doc
Configuration files installed in:
/nix/store/hgwk92wq0nhjknfrvaaxv89s7iawbakd-diagrams-pandoc-0.3/etc
No alex found
Using ar found on system at:
/nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/ar
No c2hs found
Using cpphs version 1.20.8 found on system at:
/nix/store/xs4vjdw1rcdgv84j7vy4h256i31avw5v-cpphs-1.20.8/bin/cpphs
No doctest found
Using gcc version 4.2.1 given by user at:
/nix/store/53h1zds6q5k4ab4l7430fbddn0l0iq1c-clang-wrapper-5.0.1/bin/clang
Using ghc version 8.2.2 found on system at:
/nix/store/plm7fql53l3kzijzafzqri398jd9s59f-ghc-8.2.2/bin/ghc
Using ghc-pkg version 8.2.2 found on system at:
/nix/store/plm7fql53l3kzijzafzqri398jd9s59f-ghc-8.2.2/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.18.1 found on system at:
/nix/store/plm7fql53l3kzijzafzqri398jd9s59f-ghc-8.2.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/plm7fql53l3kzijzafzqri398jd9s59f-ghc-8.2.2/bin/hpc
Using hsc2hs version 0.68.2 found on system at:
/nix/store/plm7fql53l3kzijzafzqri398jd9s59f-ghc-8.2.2/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/x6rjg1hqqcg1agmaqf40vx79ywni5wv8-hscolour-1.24.2/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/cjhrjh6brgy1wahgbh5wqrflnb447bf8-cctools-binutils-darwin-wrapper/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using runghc version 8.2.2 found on system at:
/nix/store/plm7fql53l3kzijzafzqri398jd9s59f-ghc-8.2.2/bin/runghc
Using strip found on system at:
/nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
Using tar found on system at:
/nix/store/nwj6x1d0bz45nzsch3rhnfa5wi4kf4nk-gnutar-1.30/bin/tar
No uhc found
building
Preprocessing library for diagrams-pandoc-0.3..
Building library for diagrams-pandoc-0.3..
[1 of 1] Compiling Text.Pandoc.Diagrams ( src/Text/Pandoc/Diagrams.hs, dist/build/Text/Pandoc/Diagrams.o )
src/Text/Pandoc/Diagrams.hs:9:1: warning: [-Wunused-imports]
The import of ‘Control.Monad’ is redundant
except perhaps to import instances from ‘Control.Monad’
To import instances alone, use: import Control.Monad()
|
9 | import Control.Monad (when)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Preprocessing executable 'diagrams-pandoc' for diagrams-pandoc-0.3..
Building executable 'diagrams-pandoc' for diagrams-pandoc-0.3..
[1 of 1] Compiling Main ( src/Main.hs, dist/build/diagrams-pandoc/diagrams-pandoc-tmp/Main.dyn_o )
src/Main.hs:15:71: error:
• Variable not in scope:
(<>) :: Mod f0 a0 -> Mod f1 [Char] -> Mod ArgumentFields String
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
15 | <$> strArgument (help "target output format from pandoc" <> value "html")
| ^^
src/Main.hs:16:40: error:
• Variable not in scope: (<>) :: Mod f5 a3 -> Mod f6 a4 -> t2
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
16 | <*> strOption (long "out" <> short 'o' <> metavar "DIR"
| ^^
src/Main.hs:16:53: error:
• Variable not in scope: (<>) :: t2 -> Mod f4 a2 -> t1
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
16 | <*> strOption (long "out" <> short 'o' <> metavar "DIR"
| ^^
src/Main.hs:17:29: error:
• Variable not in scope: (<>) :: t1 -> Mod f3 a1 -> t0
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
17 | <> help "Directory for image files" <> value "images")
| ^^
src/Main.hs:17:65: error:
• Variable not in scope:
(<>) :: t0 -> Mod f2 [Char] -> Mod OptionFields FilePath
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
17 | <> help "Directory for image files" <> value "images")
| ^^
src/Main.hs:18:47: error:
• Variable not in scope: (<>) :: Mod f11 a8 -> Mod f12 a9 -> t6
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
18 | <*> strOption (long "expression" <> long "expr" <> short 'e' <>
| ^^
src/Main.hs:18:62: error:
• Variable not in scope: (<>) :: t6 -> Mod f10 a7 -> t5
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
18 | <*> strOption (long "expression" <> long "expr" <> short 'e' <>
| ^^
src/Main.hs:18:75: error:
• Variable not in scope: (<>) :: t5 -> Mod f9 a6 -> t4
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
18 | <*> strOption (long "expression" <> long "expr" <> short 'e' <>
| ^^
src/Main.hs:19:44: error:
• Variable not in scope: (<>) :: t4 -> Mod f8 a5 -> t3
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
19 | metavar "NAME" <>
| ^^
src/Main.hs:20:77: error:
• Variable not in scope:
(<>) :: t3 -> Mod f7 [Char] -> Mod OptionFields String
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
20 | help "name of Diagram value in Haskell snippet" <>
| ^^
src/Main.hs:26:18: error:
• Variable not in scope: (<>) :: InfoMod a11 -> InfoMod a12 -> t7
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
26 | (fullDesc <> progDesc "interpret inline Haskell code to insert images in Pandoc output\nhttps://github.com/bergey/diagrams-pandoc"
| ^^
src/Main.hs:27:8: error:
• Variable not in scope: (<>) :: t7 -> InfoMod a10 -> InfoMod Opts
• Perhaps you meant one of these:
‘<$>’ (imported from Options.Applicative),
‘<*>’ (imported from Options.Applicative),
‘*>’ (imported from Options.Applicative)
|
27 | <> header "diagrams-pandoc - a Pandoc filter for inline Diagrams")
| ^^
builder for '/nix/store/kscs3cycglsjwffhpshl5xkrwgy34qd0-diagrams-pandoc-0.3.drv' failed with exit code 1
error: build of '/nix/store/kscs3cycglsjwffhpshl5xkrwgy34qd0-diagrams-pandoc-0.3.drv' failed
nix-repl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment