lnfiniteMonkeys / TimeLines-hs

A modular synth and sequencer for live coding music (in) time
BSD 3-Clause "New" or "Revised" License
57 stars 1 forks source link

stack build fails #2

Open chrissound opened 6 years ago

chrissound commented 6 years ago
Building all executables for `TimeLines' once. After a successful build of all of them, only specified executables will be rebuilt.
TimeLines-0.1.0.0: configure (lib + exe)
Configuring TimeLines-0.1.0.0...
TimeLines-0.1.0.0: build (lib + exe)
Preprocessing library for TimeLines-0.1.0.0..
Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2: can't find source for
Sound/TimeLines/Toolkit in .,
.stack-work/dist/x86_64-linux-nopie/Cabal-2.0.1.0/build/autogen,
.stack-work/dist/x86_64-linux-nopie/Cabal-2.0.1.0/build/global-autogen

--  While building custom Setup.hs for package TimeLines-0.1.0.0 using:
      /home/chris/.stack/setup-exe-cache/x86_64-linux-nopie/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux-nopie/Cabal-2.0.1.0 build lib:TimeLines exe:TimeLines-exe --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1

Seems a bit odd as Setup.hs does not seem to contain anything besides the default?

lnfiniteMonkeys commented 5 years ago

Hey, our sincerest apologies for taking so long to respond to this, we just saw it!

TimeLines is not really meant to be built and used as an executable; it relies on a Haskell interpreter (currently plain ghci, but planning to migrate to using stack ghci for extra consistency) to be useful. In other words, TimeLines uses the interpreter as a vehicle to get stuff done, and so it can only really be used within one.

Bundling a Haskell interpreter, together with the library, into an executable is on the roadmap, but currently it's proving trickier than we'd like.

For what it's worth, stack build should be working now.