Skip to content

Instantly share code, notes, and snippets.

@ghasshee
Created June 1, 2019 13:53
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 ghasshee/e830cf7fced0fa40fbd883f0ca938aaf to your computer and use it in GitHub Desktop.
Save ghasshee/e830cf7fced0fa40fbd883f0ca938aaf to your computer and use it in GitHub Desktop.
Euterpea compilation failed
[8 of 8] Compiling Main ( Test.hs, dist/build/heap-tests/heap-tests-tmp/Main.o )
Test.hs:15:10: error:
• The constructor ‘Success’ should have 6 arguments, but has been given 3
• In the pattern: Success _ _ _
In a case alternative:
(Success _ _ _)
-> do putStrLn "Tests for Data.Heap.Internal:" >> Internal.runTests
>> putStrLn ""
putStrLn "Tests for Data.Heap.Item:" >> Item.runTests
>> putStrLn ""
putStrLn "Tests for Data.Heap:" >> Heap.runTests
In a stmt of a 'do' block:
case result of
(Success _ _ _)
-> do putStrLn "Tests for Data.Heap.Internal:" >> Internal.runTests
>> putStrLn ""
putStrLn "Tests for Data.Heap.Item:" >> Item.runTests
>> putStrLn ""
....
_ -> return ()
|
15 | (Success _ _ _) -> do
| ^^^^^^^^^^^^^
builder for '/nix/store/mr5ydcs5519brf3l51hm0wppsadp4ijy-heap-1.0.4.drv' failed with exit code 1
cannot build derivation '/nix/store/havwdvfq7zl4j3ljm5lrip7ncr6h6kh7-ghc-8.4.4-with-packages.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/0wvczyfx7nwn1pwqlqizs17hvva4m7fj-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dmzswh7qgcy1icb9jzgj8an08zwmha5c-nixos-system-ghasshee-19.03.172765.55df3fe5f3f.drv': 1 dependencies couldn't be built
error: build of '/nix/store/dmzswh7qgcy1icb9jzgj8an08zwmha5c-nixos-system-ghasshee-19.03.172765.55df3fe5f3f.drv' failed
➜ ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment