Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-prefetch-zip does not exist #21

Closed
DamienCassou opened this issue Apr 19, 2016 · 2 comments
Closed

nix-prefetch-zip does not exist #21

DamienCassou opened this issue Apr 19, 2016 · 2 comments

Comments

@DamienCassou
Copy link

$ cabal run melpa2nix -- --threads 4 --melpa ../melpa --stable --work /tmp/melpa --output /tmp/melpa-stable.nix shell-switcher
Preprocessing library emacs2nix-0.1.0.0...
In-place registering emacs2nix-0.1.0.0...
Preprocessing executable 'melpa2nix' for emacs2nix-0.1.0.0...
Running melpa2nix...
PackageException "shell-switcher" (ProcessFailed "nix-prefetch-zip" ["--url","https://github.com/DamienCassou/shell-switcher/archive/2c5575ae859a82041a4bacd1793b844bfc24c34f.tar.gz","--name","shell-switcher-2c5575ae859a82041a4bacd1793b844bfc24c34f-src"] nix-prefetch-zip: runInteractiveProcess: runInteractiveProcess: exec: does not exist (No such file or directory))
@DamienCassou
Copy link
Author

this happens with and without merging #13

@ttuegel ttuegel changed the title exec does not exist nix-prefetch-zip does not exist Apr 19, 2016
@ttuegel
Copy link
Collaborator

ttuegel commented Apr 19, 2016

The POSIX error message is strangely worded, but it actually means that exec can't find the file it's looking for, not that exec itself doesn't exist.

This happens because you need to either run one of the provided shell scripts, or run melpa2nix from inside a Nix shell with nix-shell -A env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants