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

Error when trying to run - readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory) #14

Open
liamwigney opened this issue May 19, 2017 · 3 comments

Comments

@liamwigney
Copy link

Hey I tried first installing the version in nixpkgs but it's the old version where it fails to build due to a version constraint so I then tried to build from source.

I just git cloned the repo and used nix-build release.nix and tried to run the bin in the release directory. However regardless of calling it directly via ./update-nix-fetchgit or using ../../release/bin/update-nix-fetchgit the error in the title occurs.

On a side not I tried the instructions in the Readme for building from source to see if I could get it to work that way but after trying nix-shell and entering the new environment typing cabal build fails with command not found but that could be something to do with me being new to Nix or something.

Thanks!

@expipiplus1
Copy link
Owner

To solve your immediate problem: You probably don't have nix-prefetch-git installed.

Clearly we need to improve the build process too!

@liamwigney
Copy link
Author

liamwigney commented May 19, 2017 via email

@expipiplus1
Copy link
Owner

It's tempting to run some TH during build time which looks to see if the nix-prefetch-git executable is present in PATH and is in the nix store and if so use the full path.

This is incorrect when cross compiling however.

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