michaelb/sniprun

Can't install with `./install.sh`

PorcoRosso85 opened this issue · 1 comments

Describe the bug

Runnning Sniprun Installer
cat: Cargo.toml: No such file or directory
/root/.local/share/nvim/plugged/sniprun/install.sh: line 22: sed: command not found
Downloading sniprun binary:
curl: (22) The requested URL returned error: 404
mv: cannot stat 'sniprun': No such file or directory
Failed to download sniprun, check your network or build locally?

To Reproduce
Steps to reproduce the behavior:

  1. install rustup to nixos
  2. install cargo and rustc with rustup
  3. exec ~/.local.../install.sh, returned error

Expected behavior
install sniprun binary done

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • Neovim version 0.8.1
  • OS/distribution nixos
  • $HOME /root

curl 7.86.0 (x86_64-pc-linux-gnu) libcurl/7.86.0 OpenSSL/3.0.7 zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libssh2/1.10.0 nghttp2/1.49.0 Release-Date: 2022-10-26 Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd

Additional context

Solved.

The reason of issue is not installing sed.