1. [neo@nixos:~/Forks/OpenGL]$ nix-build "<nixpkgs>" -A haskellPackages.OpenGL-2_9_2_0
  2. these derivations will be built:
  3. /nix/store/q2zvzygcyq712v54dl0ih7kn7ny42xb3-OpenGL-2.9.2.0.drv
  4. building path(s) ‘/nix/store/b5bka8cnirvf3fc6q2rc21iv87g0dixb-OpenGL-2.9.2.0-doc’, ‘/nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0’
  5. setupCompilerEnvironmentPhase
  6. Build with /nix/store/fd5vgah6xcwzy6xahlkl1xg637xy2n50-ghc-8.0.2.
  7. unpacking sources
  8. unpacking source archive /nix/store/166v7ik17ymjgwgvbp07qzq1l9zp1axw-OpenGL
  9. source root is OpenGL
  10. patching sources
  11. compileBuildDriverPhase
  12. setupCompileFlags: -package-db=/tmp/nix-build-OpenGL-2.9.2.0.drv-0/package.conf.d -j1 -threaded
  13. [1 of 1] Compiling Main ( Setup.hs, /tmp/nix-build-OpenGL-2.9.2.0.drv-0/Main.o )
  14. Linking Setup ...
  15. configuring
  16. configureFlags: --verbose --prefix=/nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/b5bka8cnirvf3fc6q2rc21iv87g0dixb-OpenGL-2.9.2.0-doc/share/doc --with-gcc=gcc --package-db=/tmp/nix-build-OpenGL-2.9.2.0.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0/lib/ghc-8.0.2/OpenGL-2.9.2.0 --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --enable-executable-dynamic --enable-tests --ghc-option=-split-sections
  17. Configuring OpenGL-2.9.2.0...
  18. Dependency GLURaw >=1.3.0.0: using GLURaw-2.0.0.3
  19. Dependency OpenGLRaw >=1.4.1.0: using OpenGLRaw-3.2.5.0
  20. Dependency base >=3 && <5: using base-4.9.1.0
  21. Dependency bytestring -any: using bytestring-0.10.8.1
  22. Dependency text -any: using text-1.2.2.2
  23. Using Cabal-1.24.2.0 compiled by ghc-8.0
  24. Using compiler: ghc-8.0.2
  25. Using install prefix:
  26. /nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0
  27. Binaries installed in:
  28. /nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0/bin
  29. Libraries installed in:
  30. /nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0/lib/ghc-8.0.2/OpenGL-2.9.2.0
  31. Dynamic libraries installed in:
  32. /nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0/lib/ghc-8.0.2/x86_64-linux-ghc-8.0.2
  33. Private binaries installed in:
  34. /nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0/libexec
  35. Data files installed in:
  36. /nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0/share/x86_64-linux-ghc-8.0.2/OpenGL-2.9.2.0
  37. Documentation installed in:
  38. /nix/store/b5bka8cnirvf3fc6q2rc21iv87g0dixb-OpenGL-2.9.2.0-doc/share/doc
  39. Configuration files installed in:
  40. /nix/store/my0xpjlr8lr5xg8yda8f1sf6qfl0jk1p-OpenGL-2.9.2.0/etc
  41. No alex found
  42. Using ar found on system at:
  43. /nix/store/klwxxrlgalq49cjnczvgha3j7l00jixw-binutils-2.28.1/bin/ar
  44. No c2hs found
  45. No cpphs found
  46. Using gcc version 6.4.0 given by user at:
  47. /nix/store/5l6b97jscljkvsq9y9amg71v5jfzddm4-gcc-wrapper-6.4.0/bin/gcc
  48. Using ghc version 8.0.2 found on system at:
  49. /nix/store/fd5vgah6xcwzy6xahlkl1xg637xy2n50-ghc-8.0.2/bin/ghc
  50. Using ghc-pkg version 8.0.2 found on system at:
  51. /nix/store/fd5vgah6xcwzy6xahlkl1xg637xy2n50-ghc-8.0.2/bin/ghc-pkg
  52. No ghcjs found
  53. No ghcjs-pkg found
  54. No greencard found
  55. Using haddock version 2.17.3 found on system at:
  56. /nix/store/fd5vgah6xcwzy6xahlkl1xg637xy2n50-ghc-8.0.2/bin/haddock
  57. No happy found
  58. Using haskell-suite found on system at: haskell-suite-dummy-location
  59. Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
  60. No hmake found
  61. Using hpc version 0.67 found on system at:
  62. /nix/store/fd5vgah6xcwzy6xahlkl1xg637xy2n50-ghc-8.0.2/bin/hpc
  63. Using hsc2hs version 0.68.1 found on system at:
  64. /nix/store/fd5vgah6xcwzy6xahlkl1xg637xy2n50-ghc-8.0.2/bin/hsc2hs
  65. Using hscolour version 1.24 found on system at:
  66. /nix/store/4663vvvvx870vr3zv6v0sdh6fa3k9mj2-hscolour-1.24.1/bin/HsColour
  67. No jhc found
  68. Using ld found on system at:
  69. /nix/store/5l6b97jscljkvsq9y9amg71v5jfzddm4-gcc-wrapper-6.4.0/bin/ld
  70. No lhc found
  71. No lhc-pkg found
  72. No pkg-config found
  73. Using strip version 2.28 found on system at:
  74. /nix/store/klwxxrlgalq49cjnczvgha3j7l00jixw-binutils-2.28.1/bin/strip
  75. Using tar found on system at:
  76. /nix/store/0lyn8v4w3cd70hzg5md0xwhykhlbsq9f-gnutar-1.29/bin/tar
  77. No uhc found
  78. building
  79. Building OpenGL-2.9.2.0...
  80. Preprocessing library OpenGL-2.9.2.0...
  81. [ 1 of 117] Compiling Graphics.Rendering.OpenGL.GLU.ErrorsInternal ( Graphics/Rendering/OpenGL/GLU/ErrorsInternal.hs, dist/build/Graphics/Rendering/OpenGL/GLU/ErrorsInternal.o )
  82. Graphics/Rendering/OpenGL/GLU/ErrorsInternal.hs:27:1: error:
  83. Failed to load interface for ‘Graphics.Rendering.GLU.Raw’
  84. Use -v to see a list of the files searched for.
  85. Graphics/Rendering/OpenGL/GLU/ErrorsInternal.hs:28:1: error:
  86. Failed to load interface for ‘Graphics.Rendering.OpenGL.Raw’
  87. Use -v to see a list of the files searched for.
  88. builder for ‘/nix/store/q2zvzygcyq712v54dl0ih7kn7ny42xb3-OpenGL-2.9.2.0.drv’ failed with exit code 1
  89. error: build of ‘/nix/store/q2zvzygcyq712v54dl0ih7kn7ny42xb3-OpenGL-2.9.2.0.drv’ failed

nix