Skip to content

Instantly share code, notes, and snippets.

@fragamus
Created March 8, 2018 06:19
Show Gist options
  • Save fragamus/400885f10809d35718209c22a24c51ad to your computer and use it in GitHub Desktop.
Save fragamus/400885f10809d35718209c22a24c51ad to your computer and use it in GitHub Desktop.
neural not working in stack build
bash-3.2$ stack build
Building all executables for `malek' once. After a successful build of all of them, only specified executables will be rebuilt.
malek-0.1.0.0: build (lib + exe)
Preprocessing library for malek-0.1.0.0..
Building library for malek-0.1.0.0..
[1 of 2] Compiling Lib ( src/Lib.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Lib.o )
/Users/michaelgough/malek/malek/src/Lib.hs:12:1: error:
Could not find module ‘Data.MyPrelude’
Use -v to see a list of the files searched for.
|
12 | import Data.MyPrelude
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/michaelgough/malek/malek/src/Lib.hs:13:1: error:
Could not find module ‘Numeric.Neural’
Perhaps you meant Numeric.Natural (from base-4.10.1.0)
Use -v to see a list of the files searched for.
|
13 | import Numeric.Neural
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/michaelgough/malek/malek/src/Lib.hs:14:1: error:
Could not find module ‘Data.Utils’
Perhaps you meant Data.Bits (from base-4.10.1.0)
Use -v to see a list of the files searched for.
|
14 | import Data.Utils
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- While building custom Setup.hs for package malek-0.1.0.0 using:
/Users/michaelgough/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 build lib:malek exe:malek-exe --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment