Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.87 KB | None | 0 0
  1. installing ‘ghc-mod-5.8.0.0’
  2. these derivations will be built:
  3. /nix/store/0by9b28qaf2dcgl68mfx8qysnvnjxh4r-ghc-mod-5.8.0.0.drv
  4. building path(s) ‘/nix/store/73yh7z5za1ix4zazgfd6h8rp5jfnq90f-ghc-mod-5.8.0.0’, ‘/nix/store/ffbfsjvm3r5dn1pp3sp5bz3imw4x6l81-ghc-mod-5.8.0.0-doc’, ‘/nix/store/km0zh3yjwiy626q01jcvacfyhr4wxasy-ghc-mod-5.8.0.0-data’
  5. setupCompilerEnvironmentPhase
  6. Build with /nix/store/70bs1dmdv2m2vxbd38hd5d50lf6d4apm-ghc-8.2.2.
  7. unpacking sources
  8. unpacking source archive /nix/store/vq4zl3c2hhn78vqqpqsdp1466wl1iniq-ghc-mod-5.8.0.0.tar.gz
  9. source root is ghc-mod-5.8.0.0
  10. setting SOURCE_DATE_EPOCH to timestamp 1495938286 of file ghc-mod-5.8.0.0/test/TestUtils.hs
  11. patching sources
  12. Replace Cabal file with edited version from http://hackage.haskell.org/package/ghc-mod-5.8.0.0/revision/1.cabal.
  13. compileBuildDriverPhase
  14. setupCompileFlags: -package-db=/tmp/nix-build-ghc-mod-5.8.0.0.drv-0/package.conf.d -j1 -threaded
  15. [1 of 1] Compiling Main ( Setup.hs, /tmp/nix-build-ghc-mod-5.8.0.0.drv-0/Main.o )
  16.  
  17. Setup.hs:85:60: error:
  18. • Couldn't match expected type ‘UnitId’
  19. with actual type ‘PathTemplate’
  20. • In the third argument of ‘substPathTemplate’, namely
  21. ‘(progPrefix lbi)’
  22. In the expression:
  23. substPathTemplate (packageId pd) lbi (progPrefix lbi)
  24. In an equation for ‘progprefix’:
  25. progprefix = substPathTemplate (packageId pd) lbi (progPrefix lbi)
  26. |
  27. 85 | progprefix = substPathTemplate (packageId pd) lbi (progPrefix lbi)
  28. | ^^^^^^^^^^^^^^
  29.  
  30. Setup.hs:86:60: error:
  31. • Couldn't match expected type ‘UnitId’
  32. with actual type ‘PathTemplate’
  33. • In the third argument of ‘substPathTemplate’, namely
  34. ‘(progSuffix lbi)’
  35. In the expression:
  36. substPathTemplate (packageId pd) lbi (progSuffix lbi)
  37. In an equation for ‘progsuffix’:
  38. progsuffix = substPathTemplate (packageId pd) lbi (progSuffix lbi)
  39. |
  40. 86 | progsuffix = substPathTemplate (packageId pd) lbi (progSuffix lbi)
  41. | ^^^^^^^^^^^^^^
  42.  
  43. Setup.hs:87:28: error:
  44. • Couldn't match expected type ‘[a]’
  45. with actual type ‘PathTemplate -> FilePath’
  46. • Probable cause: ‘progprefix’ is applied to too few arguments
  47. In the first argument of ‘(++)’, namely ‘progprefix’
  48. In the expression: progprefix ++ exeName exe ++ progsuffix
  49. In an equation for ‘fixedExeBaseName’:
  50. fixedExeBaseName = progprefix ++ exeName exe ++ progsuffix
  51. • Relevant bindings include
  52. fixedExeBaseName :: [a] (bound at Setup.hs:87:9)
  53. |
  54. 87 | fixedExeBaseName = progprefix ++ exeName exe ++ progsuffix
  55. | ^^^^^^^^^^
  56.  
  57. Setup.hs:87:42: error:
  58. • Couldn't match expected type ‘[a]’
  59. with actual type ‘Distribution.Types.UnqualComponentName.UnqualComponentName’
  60. • In the first argument of ‘(++)’, namely ‘exeName exe’
  61. In the second argument of ‘(++)’, namely
  62. ‘exeName exe ++ progsuffix’
  63. In the expression: progprefix ++ exeName exe ++ progsuffix
  64. • Relevant bindings include
  65. fixedExeBaseName :: [a] (bound at Setup.hs:87:9)
  66. |
  67. 87 | fixedExeBaseName = progprefix ++ exeName exe ++ progsuffix
  68. | ^^^^^^^^^^^
  69.  
  70. Setup.hs:87:57: error:
  71. • Couldn't match expected type ‘[a]’
  72. with actual type ‘PathTemplate -> FilePath’
  73. • Probable cause: ‘progsuffix’ is applied to too few arguments
  74. In the second argument of ‘(++)’, namely ‘progsuffix’
  75. In the second argument of ‘(++)’, namely
  76. ‘exeName exe ++ progsuffix’
  77. In the expression: progprefix ++ exeName exe ++ progsuffix
  78. • Relevant bindings include
  79. fixedExeBaseName :: [a] (bound at Setup.hs:87:9)
  80. |
  81. 87 | fixedExeBaseName = progprefix ++ exeName exe ++ progsuffix
  82. | ^^^^^^^^^^
  83.  
  84. Setup.hs:92:26: error:
  85. • Couldn't match expected type ‘Distribution.Types.UnqualComponentName.UnqualComponentName’
  86. with actual type ‘[Char]’
  87. • In the second argument of ‘(==)’, namely ‘"ghc-mod-real"’
  88. In the first argument of ‘when’, namely
  89. ‘(exeName exe == "ghc-mod-real")’
  90. In the expression: when (exeName exe == "ghc-mod-real")
  91. |
  92. 92 | when (exeName exe == "ghc-mod-real") $ do
  93. | ^^^^^^^^^^^^^^
  94. builder for ‘/nix/store/0by9b28qaf2dcgl68mfx8qysnvnjxh4r-ghc-mod-5.8.0.0.drv’ failed with exit code 1
  95. error: build of ‘/nix/store/0by9b28qaf2dcgl68mfx8qysnvnjxh4r-ghc-mod-5.8.0.0.drv’ failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement