Skip to content

Instantly share code, notes, and snippets.

@zeta-00
Created March 20, 2020 20:22
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 zeta-00/2d806c4d2720e4200a0add034994fd60 to your computer and use it in GitHub Desktop.
Save zeta-00/2d806c4d2720e4200a0add034994fd60 to your computer and use it in GitHub Desktop.
[zeta@nixos:/darcs-2.14.2]$ ls -a
. contrib darcs.cabal GNUmakefile release tests
.. COPYING darcs.nix harness Setup.hs
CHANGELOG darcs default.nix README.md src
[zeta@nixos:/darcs-2.14.2]$ nix-shell
building '/nix/store/rxv4ljil69k3rh8fbb8p3sxhgvcq2yvj-cabal2nix-darcs-2.14.2.drv'...
installing
error: creating directory '/nix/var': Permission denied
error: creating directory '/nix/var': Permission denied
** need a revision for VCS when the hash is given. skipping.
** need a revision for VCS when the hash is given. skipping.
** need a revision for VCS when the hash is given. skipping.
** need a revision for VCS when the hash is given. skipping.
cabal2nix: user error (Failed to fetch source. Does this source exist? Source {sourceUrl = "/nix/store/r294sqwbd7xwg3pby3da6m6zql5achg0-darcs-2.14.2", sourceRevision = "", sourceHash = Guess "", sourceCabalDir = ""})
builder for '/nix/store/rxv4ljil69k3rh8fbb8p3sxhgvcq2yvj-cabal2nix-darcs-2.14.2.drv' failed with exit code 1
error: build of '/nix/store/rxv4ljil69k3rh8fbb8p3sxhgvcq2yvj-cabal2nix-darcs-2.14.2.drv' failed
[zeta@nixos:/darcs-2.14.2]$
@zeta-00
Copy link
Author

zeta-00 commented Mar 20, 2020

[nix-shell:/darcs-2.14.2]$ ls
CHANGELOG darcs default.nix README.md src
contrib darcs-2.14.2.cabal GNUmakefile release tests
COPYING darcs-2.14.2.nix harness Setup.hs

[nix-shell:/darcs-2.14.2]$

@zeta-00
Copy link
Author

zeta-00 commented Mar 20, 2020

[nix-shell:/darcs-2.14.2]$ 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/darcs-dev/darcs-2.14.2.
Report bugs at https://github.com/digital-asset/ghcide/issues

Step 1/6: Finding files to test in /home/zeta/darcs/darcs-dev/darcs-2.14.2
Found 264 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/darcs-dev/darcs-2.14.2/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",""]

[nix-shell:/darcs-2.14.2]$

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