Skip to content

Instantly share code, notes, and snippets.

@zeta-00
Created March 18, 2020 21:30
Show Gist options
  • Save zeta-00/71ebdd3c43c84fb38a99a5ec087237aa to your computer and use it in GitHub Desktop.
Save zeta-00/71ebdd3c43c84fb38a99a5ec087237aa to your computer and use it in GitHub Desktop.
[zeta@nixos:/screened]$ echo "cradle: {cabal: {}} > hie.yaml"
cradle: {cabal: {}} > hie.yaml
@zeta-00
Copy link
Author

zeta-00 commented Mar 18, 2020

[zeta@nixos:/screened]$ ls
cabal.project.local COPYING.LIB dist-newstyle README.md TAGS
CHANGELOG darcs GNUmakefile release tests
contrib _darcs harness Setup.hs
COPYING darcs.cabal hie.yaml src

[zeta@nixos:/screened]$ pwd
/home/zeta/darcs/screened

[zeta@nixos:/screened]$ echo "cradle: {cabal: {}}" > hie.yaml

[zeta@nixos:/screened]$

@zeta-00
Copy link
Author

zeta-00 commented Mar 18, 2020

[zeta@nixos:/screened]$ ghcide
ghcide version: 0.1.0 (GHC: 8.6.5) (PATH: /nix/store/xhg5lzac77x3y6ww54qjrvi3ygyjxzq9-ghcide-0.1.0-exe-ghcide/bin/ghcide)
Ghcide setup tester in /home/zeta/darcs/screened.
Report bugs at https://github.com/digital-asset/ghcide/issues

Step 1/6: Finding files to test in /home/zeta/darcs/screened
Found 297 files

Step 2/6: Looking for hie.yaml files that control setup
Found 1 cradle

Step 3/6, Cradle 1/1: Loading /home/zeta/darcs/screened/hie.yaml

Step 4/6, Cradle 1/1: Loading GHC Session
ghcide: CradleError (ExitFailure 1) ["Failed to parse result of calling cabal","","cabal: Unrecognised target syntax for ''.\n\n",""]

[zeta@nixos:/screened]$

@zeta-00
Copy link
Author

zeta-00 commented Mar 18, 2020

[zeta@nixos:/Commands]$ pwd
/home/zeta/darcs/screened/src/Darcs/UI/Commands

[zeta@nixos:/Commands]$ ghcide Rollback.hs
ghcide version: 0.1.0 (GHC: 8.6.5) (PATH: /nix/store/xhg5lzac77x3y6ww54qjrvi3ygyjxzq9-ghcide-0.1.0-exe-ghcide/bin/ghcide)
Ghcide setup tester in /home/zeta/darcs/screened/src/Darcs/UI/Commands.
Report bugs at https://github.com/digital-asset/ghcide/issues

Step 1/6: Finding files to test in /home/zeta/darcs/screened/src/Darcs/UI/Commands
Found 1 files

Step 2/6: Looking for hie.yaml files that control setup
Found 1 cradle

Step 3/6, Cradle 1/1: Loading /home/zeta/darcs/screened/hie.yaml

Step 4/6, Cradle 1/1: Loading GHC Session
ghcide: CradleError (ExitFailure 1) ["Failed to parse result of calling cabal","","cabal: Unrecognised target syntax for ''.\n\n",""]

[zeta@nixos:/Commands]$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment